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

How to install composer locally

藏色散人
Release: 2020-06-08 15:07:17
forward
3851 people have browsed it

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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template