1.github下载laravel2.通过composer安装相应的库composer config repo.packagist composer https://packagist.phpcomposer.com composer install 3.生产keyphp artisan key:generate 这个前提是要有.env文件,通过记事本另存为来将.env.example 存为.env4.成功成功?