Use this :
php -r "readfile('https://getcomposer.org/installer');" | php
This will install composer to the current directory so that you can use php composer.phar
More Related Contents:
- You must enable the openssl extension to download files via https
- What are these exactly?: Composer, Git and Pyrus [closed]
- How to explain Composer’s error log?
- Composer require runs out of memory. PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
- How to require a fork with composer?
- Class Foo\Bar\Baz located in ./foo/bar/utility/baz.php does not comply with psr-4 autoloading standard. Skipping
- How to do left join in Doctrine?
- Composer error: “PHP extension fileinfo is missing from your system”
- Composer Warning: openssl extension is missing. How to enable in WAMP
- require(vendor/autoload.php): failed to open stream
- install ext-zip for Mac
- Use PHP composer to clone git repo
- How to specify Composer install path?
- Laravel 5 Class ‘form’ not found
- How to render ZF2 view within JSON response?
- How to use composer packages in codeigniter?
- What are the differences between composer update and composer install?
- Installing specific laravel version with composer create-project
- How to access route, post, get etc. parameters in Zend Framework 2
- 3rd party dependency conflict in developing WordPress Plugin
- How to downgrade or install a specific version of Composer?
- Fatal error: Class ‘Illuminate\Foundation\Application’ not found
- Using Composer’s Autoload
- Is there any way to install Composer globally on Windows?
- PHP adding custom namespace using autoloader from composer
- How can you add query parameters in the ZF2 / ZF3 url view helper
- Difference between require and install vs create-project in composer
- How to use Composer to autoload classes from outside the vendor?
- ZF2 – Get controller name into layout/views
- Join subquery with doctrine 2 DBAL