Use composer on comandline

Edited by 2 users.
Last edit: 21:52, 8 January 2014

This is related to Installation. On my WINDOWS 2003 Server using

C:\MYPATH\maintenance>php composer.phar require mediawiki/semantic-media-wiki "1.9.*,>="
Could not open input file: composer.phar


did not work. But

composer require mediawiki/semantic-media-wiki "1.9.*,>="

did the job. Composer was installed the INSTALLER way as told here.

15:38, 8 January 2014

Either one can only install Composer on Windows globally (most likely as it looks in this case) or you installed Composer on Windows globally. Yeah, in this case you must drop the php and .phar particles from the command. It is possible to install Composer on e.g. on Linux globally too but the installation manual is indended too which is probably the best way if you have more than one wiki on your machine. The docu is indended to be as basic as possible. That's why I did not want to confuse people with even more steps.

Good anyway that you pointed this out for others.

21:52, 8 January 2014

Adding a little note about this will not hurt, so that's what I just have done. Thanks for the pointer.

22:21, 8 January 2014