Laravel 升级版本
原来用的是5.1版本的 Laravel
,用的过程中针对项目的需求在 vendor
目录做了些改动,然后现在想升级到5.3版本。
因为之前升级5.3做了几次都失败,然后开始尝试先从5.1升级到5.2,然后再从5.2升级到5.3.
but,,,,,升级5.2报错依旧报错如下:
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Illuminate\Routing\ControllerServiceProvider' not found
Script php artisan optimize handling the post-update-cmd event returned with error code 1
我是走进了啥误区。。。。求助
PS:vendor目录只改动了
vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
一个文件,增加了几个自定义的 Exception
类型
推荐文章: