Support the ongoing development of Laravel.io →
posted 7 months ago
Routing
Last updated by @nnngit 7 months ago.
0

[email protected] is still supported if you set the $namespace property in https://github.com/laravel/laravel/blob/9.x/app/Providers/Rout...

But it's generally recommended to use the Route::get('/user', [UserController::class, 'index']); syntax.

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

sslaravel nnngit Joined 26 Mar 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.