Displaying 1-4 of 4 results.
Resolved: Composer composer self-update errors in Windows by XAMPP
posted by admin on February 1, 2017
I try to update composer and got some errors.
When I tried the command

composer self-update

Error

'composer' is not recognized as an internal or external command,
operable program or batch file.

When I tried the command

php composer self-update

Error:

Could not open input file: composer

And finally

composer.phar self-update

Error
Trying to search composer.phar in intsernetRead more
Wiki: Composer can be installed by following the instructionswiki
posted by admin on February 1, 2017
This process looks as follows:

curl -sS https://getcomposer.org/installer | php

nstaller | php
[/plain]
Alternatively, if you don't have cURL available on your system, it can be installed through PHP itself:

php -r "readfile('https://getcomposer.org/installer');" | php
Read more
Wiki: Installing Composer to Windwos by XAMPPwiki
posted by admin on February 1, 2017
Open your CMD Line - Command Prompt
1. Go to your php.exe file by command

cd c:\xampp\php\

2. Type composer instalation command

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

And enjoy result like this

c:\xampp\php>php -r "copy('https://getcomposer.org/installer', 'composer-setup.p
hp');"

c:\xampp\php>php -r "if (hash_file('SHA384', 'composer-setup.php') === '55d6ead6
1b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf32
9e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlin
k('composer-setup.php'); } echo PHP_EOL;"
Installer verified

c:\xampp\php>php composer-setup.php
All settings correct for using Composer
Downloading...

Composer (version 1.3.2) successfully installed to: C:\xampp\php\composer.phar
Use it: php composer.phar
Read more
Resolved: Composer.phar Warning: This development build of composer is over 30 days old
posted by admin on June 21, 2016
I am facing warning statements in my cmd.

Warning: This development build of composer is over 60 days old.Read more