How to use php composer.phar version 2.0 in Laravel code example
Example 1: composer mac
php composer-setup.php --install-dir=bin --filename=composer
Example 2: laravel download
composer global require "laravel/installer=~1.1"
php composer-setup.php --install-dir=bin --filename=composer
composer global require "laravel/installer=~1.1"