Could not open input file: /usr/local/bin/composer.pha mac code example
Example 1: Could not open input file: composer
composer install
Example 2: Could not open input file: composer.phar
$ composer update friendsofsymfony/elastica-bundle
composer install
$ composer update friendsofsymfony/elastica-bundle