upgrade 5.2 to 5.5

http://laravel.com/

http://kejyun.github.io/Laravel-4-Docum ... roduction/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

upgrade 5.2 to 5.5

文章 yehlu »

1.Install Laravel 5.5
2.Copy resource/view
3.Copy public
4.Add routers/web.php
5.Copy Controller
6.Copy Models
7.add New Package
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Trait 'Illuminate\Foundation\Auth\Access\AuthorizesResources' not found

文章 yehlu »

https://stackoverflow.com/questions/376 ... -not-found

代碼: 選擇全部

namespace App\Http\Controllers;

use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
//use Illuminate\Foundation\Auth\Access\AuthorizesResources;

class Controller extends BaseController
{
    //use AuthorizesRequests, AuthorizesResources, DispatchesJobs, ValidatesRequests;
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}
回覆文章

回到「laravel」