Class ‘App\Http\Controllers\Auth’ not found -FatalErrorException in MyfirstController.php use Auth; in the top of the controller. here inside MyfirstController.php