AWS Codestar Laravel EB - Artisan 文件不正确

AWS Codestar Laravel EB - Artisan File Incorrect

我使用 Laravel 模板和 Elastic Beanstalk 创建了一个新的 Codestar 项目。打开 Cloud9 IDE 并导航到项目根目录后,artisan 文件似乎不正确。

这可能是我的误解,但我看不到任何地方记录了从模板创建后 artisan 所需的过程。

我已将此过程重复 2-3 次以确保设置没有损坏。

j_boswood:~/environment/iactionportal (master) $ php artisan list
PHP Warning:  require(/home/ec2-user/environment/iactionportal/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/ec2-user/environment/iactionportal/bootstrap/autoload.php on line 17
PHP Stack trace:
PHP   1. {main}() /home/ec2-user/environment/iactionportal/artisan:0
PHP   2. require() /home/ec2-user/environment/iactionportal/artisan:16
PHP Fatal error:  require(): Failed opening required '/home/ec2-user/environment/iactionportal/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/ec2-user/environment/iactionportal/bootstrap/autoload.php on line 17
PHP Stack trace:
PHP   1. {main}() /home/ec2-user/environment/iactionportal/artisan:0
PHP   2. require() /home/ec2-user/environment/iactionportal/artisan:16

看来我需要 运行 curl -sS getcomposer.org/installer | php 安装 composer,然后 运行 php composer.phar install --ignore-platform-reqs 安装预配置的供应商项目。 –