Install Composer PHP Dependency Manager – Windows Users
Composer PHP Dependency Manager
Step-1 Firstly we are going to the windows search option and write cmd then open the command prompt.
Step-2 if you have faced PHP or any error so go to c drive xampp folder then open PHP
folder and press CTRL+L copy path.
Step-3 After the copy path go to the pc icon then right-click the mouse button and click system
protection then click Advance option see Environment variables button click then see the path
Click the edit option and paste the xampp PHP folder path then click the okay button.
Step-4 After solve this error go to Command prompt and write a command
- php -r "copy('https://getcomposer.org/installer', 'composer- setup.php');"
2.php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
3.php composer-setup.php







Comments