Installation Yii2 problem with composer



  • os Ubuntu

    composer installed globally

    Introducing the folder for the project:

    composer create-project --prefer-dist --stability=dev vova07/yii2-start yii2-start

    issuing a communication

    [InvalidArgumentException]
    Composer could not find a composer.json file in /home/chupakabra/my_www/vhost1/composer_test/2/yii2
    To initialize a project, please create a composer.json file as described in the https://getcomposer.or
    g/Getting Started section

    The instructions are taken from here. https://github.com/vova07/yii2-start



  • If I'm not mistaken, try writing self-update or composer self-update before you're done.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2