Https://jingyan.baidu.com/article/c45ad29c2eb01d051753e2be.html
Composer is not a package manager, it is just a dependency management tool. It involves "packages" and "libraries", but it is managed on a per-project basis and installed in a directory of your project (for example, vendor). By default it will not install anything globally. Note: PHP version requires support in version 5.3 and above!
Tools/Materials
- Composer installation files;
- Windows operating system;
Method/Step
- 1
Download Composer-setup.exe;
- 2
Open the php.ini configuration file; Turn on the php_openssl.dll extension;
- 3
Then restart the Web server, for example: Apache,nginx,iis, etc.;
- 4
Double-click Run composer-setup.exe file;
- 5
Click:Next button;
- 6
Click: Broser button, then find and select the PHP.exe file, then click:Next button;
- 7
Click:Next button;
- 8
Click: Install button for installation;
- 9
Click:Next button;
- 10
Click: Finish button to complete the installation;
- 11
Open the DOS window;
- 12
Input: Composer carriage return; The following message appears, indicating that the composer installation was successful!
END
Precautions
- Do not check the agent during the transfer;
- The path of the Php.exe;
How do I install composer under Windows?