Could not open input file: composer.phar

前端 未结 15 788
感情败类
感情败类 2020-12-02 09:38

I am trying to install zendframework using composer tool in wamp server.

The following steps are done towards installation

  1. I downlo

15条回答
  •  感情败类
    2020-12-02 09:46

    This is how it worked for me:

    • Make sure composer is installed without no errors.

    • Open "System Properties" on windows and go to the "Advanced" tab. (You can just press the windows button on your keyboard and type in "Edit the system environment variables`

    • "Environment variables"

    • Under "System variables" Edit "PATH"

    • Click on "New".

    • Type in: C:\ProgramData\ComposerSetup\bin\composer.phar

    • Close all folders & CMDs + restart you WAMP server.

    • Go to whatever directory you want to install a package in and type in

      composer.phar create-project slim/slim-skeleton

    for example.

提交回复
热议问题