Get back the possibility to define Route::controller() inside laravel routes.
Deprecated see https://github.com/shrimpwagon/laravel-route-controller
// in the routes/web.php
Route::group(['middleware' => 'auth'], function()
{
Route::controller('stuff', App\Controller\StuffController::class);
});
composer require bepark/laravel-route-controller
Setup the service provider:
'providers' => [
...
BePark\Libs\Laravel\RouteController\Provider\RouteControllerServiceProvider::class,
];
That's all
- Automated tests
- Add more docs than a simple readme
The MIT License (MIT). See the license file for more information.