Home >Development Tools >composer >How to install composer locally

How to install composer locally

藏色散人
藏色散人forward
2020-06-08 15:07:173854browse

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!

How to install composer locally

Composer local installation method

1. Download the 2 files shown below

How to install composer locally

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

How to install composer locally

#4. Configure environment variables (copy the php directory to the environment variables)

5. Set extension=php_openssl in the php.ini configuration file. dll open

6. Open CMD and enter composer -v

7. The following picture appears. Configuration is successful

How to install composer locally

More composer technical articles, Please visit the

composer column!

The above is the detailed content of How to install composer locally. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete