Could not open input file: composer.phar

前端 未结 15 744
感情败类
感情败类 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:53

    I am using Windows 7, and I got the same problem as yours while using Composer via cmd.

    The problem is solved when I use

    php C:\ProgramData\ComposerSetup\bin\composer.phar create-project slim/slim-skeleton
    

    instead of

    php composer.phar create-project slim/slim-skeleton
    

    Hope this is useful for people who got the same problem.

提交回复
热议问题