Register routes using static ::class
references instead of strings and remove any namespace prefixes from the RouteServiceProvider
. This convention was adopted by default in Laravel 8. Running this task automatically runs the "actions to tuples" task as well.
Before
Route::resource('/post', 'PostController');
After
Route::resource('/post', PostController::class);
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.