如果調(diào)用了paginate方法,但是報錯 : default.ERROR: Class 'Illuminate\Pagination\Paginator' not found 運行 composer require illuminate/pagination,這樣就可以使用 illuminate/database 的分頁了 但是要注意和數(shù)據(jù)庫ORM版本一致, 所以安裝的時候最好加上版本號 : composer req...