Answers for "laravel auth not found in controller.php"

PHP
0

Auth' not found

To fix this, add use Auth; at the top of your Controller file along with your other use statements or alternatively prefix all instances of Auth with backslash like this: \Auth to let PHP know to load it from the global namespace.
Posted by: Guest on May-02-2022
3

Route::auth(); giving error in laravel 7

Do this step from the upgrade guide 
https://laravel.com/docs/7.x/upgrade#authentication-scaffolding

############
composer require laravel/ui "^2.0"
Posted by: Guest on November-10-2020

Code answers related to "laravel auth not found in controller.php"

Browse Popular Code Answers by Language