add auth class in laravel 7 code example Example: laravel auth //namespace use Illuminate\Support\Facades\Auth;