Could not open input file: artisan

后端 未结 27 1131
清歌不尽
清歌不尽 2020-11-30 17:45

When trying to create a new laravel project, The following error appears on the CLI:

Could not open input file: artisan

Script php artisan clear-c

27条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 18:26

    After installing composer, you need to create the project:

    composer create-project laravel/laravel /path/to/tour/project
    

    You can see the documentation, for your php version the lastest Laravel you can install is 5.0.

    Now days here is the lastest version and require > php7.0. Here is the documentation.

提交回复
热议问题