Documentation: Why is composer "update" the default command?

Maybe this is a bit nit-picky. :wink:

In the for both OMP and OJS the example command for composer is “update”, maybe the default one should be “install”?

The README states you should be either running install or update, but the provided example is a “update” command. You end up with different dependency versions and an updated lock file - for users (or even new developers) not quite what you want to do.

Hi @dersmon,

Good point – I’ve changed composer update to composer install for the master and stable-3_2_1 branches of OJS, OMP, and OPS!

Alec Smecher
Public Knowledge Project Team

1 Like