First manual installation of composer detailed instruction under Windows

Source: Internet
Author: User

1. Download Compser.phar address https://getcomposer.org/download/

2. Create a new Composer.bat file, write "@php"%~dp0composer.phar "%*"

3. Put Composer.bat Composer.phar two files into

4. Write to the environment variable ";D: \phpstudy\php\php-5.4.45;d:\phpstudy\php\php-5.4.45\ext" (the folder name here needs to be changed in the environment variable, environment variable: Right-click My Computer--Properties , advanced system settings, environment variables->path-> Edit, separated by semicolons, add this sentence at the end)

5. Run the Composer.bat file under Administrator privileges (Flash over)

6./* Open the Linux command line (win+r) cmd run phpstudy/php/folder name/composer.bat*/

7. When you see the composer version, the installation is successful.

8. Enter under phpstudy/www/

composer create-project topthink/think tp5(文件夹名)

After running, TP5 is created to complete the

THINKPHP5 Development Manual Address https://www.kancloud.cn/manual/thinkphp5/118003

Query Manuals Run

If the following error is reported

Open the Phpstudy (7.0 environment) configuration file, open

First manual installation of composer detailed instruction under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.