How to run composer.json?
i used 'composer install' and it's working good
composer install
or
php composer install
use composer update
in the same folder that has composer.json
, when the composer command (eg. test with composer --version
) already exists in your terminal.
You must download composer:
curl -sS https://getcomposer.org/installer | php
or
php -r "readfile('https://getcomposer.org/installer');" | php
and next you should run if you have composer.json file:
composer.phar install
or if you want create new project
composer.phar create-project