I’m trying to see the help of
php artisan make:controller --help method but I get this error:
In Macroable.php line 78:
Method Illuminate\Routing\Route::resource does not exist.
Ok, I found the problem. I just needed to import this:
I don’t know why it wasn’t there when I created the project. Btw I’m using Laravel 5.8