I read through the Docs and get using Composer.
I cd command to the folder where Flarum is, mine is in public_html.
I run composer. But keep getting this error when trying to install an extension, such as social cards, as the example below:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires justoverclock/flarum-ext-socialcards 0.1.1 -> satisfiable by justoverclock/flarum-ext-socialcards[0.1.1].
- justoverclock/flarum-ext-socialcards 0.1.1 requires flarum/core 0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but the package is fixed to v0.1.0-beta.15 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.