windows composer as command code example
Example 1: php composer update
php composer.phar update
Example 2: composer mac
php composer-setup.php --install-dir=bin --filename=composer
php composer.phar update
php composer-setup.php --install-dir=bin --filename=composer