Install composer 1.10 using php composer
Copy and paste this in terminal and hit enter. Composer version 1.10.23 will be installed in local directory. you can use it as php composer.phar install
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php --version=1.10.23 php -r "unlink('composer-setup.php');"