Home >Development Tools >composer >How to install composer locally
The following is used by composer to introduce the method of local installation of composer using the tutorial column. I hope it will be helpful to friends who need it!
Composer local installation method
1. Download the 2 files shown below
2. Place the two files in the above picture into the php root directory and the same directory as php.exe
3. Write
## in composer.bat #4. Configure environment variables (copy the php directory to the environment variables) 5. Set extension=php_openssl in the php.ini configuration file. dll open6. Open CMD and enter composer -v7. The following picture appears. Configuration is successful More composer technical articles, Please visit theThe above is the detailed content of How to install composer locally. For more information, please follow other related articles on the PHP Chinese website!