Hello @4unkur.
The Auth "class" that you want is a Facade (more info here: http://laravel.com/docs/5.1/facades)
Basically you have two ways to use it:
use Auth; //Yeap it is really easy, because is a Facade
and then use
Auth::check();
\Auth::check();
That's all :P
Hope it helps.
PS: I recommend you this course about "Learn Laravel" to develop a step-by-step project with Laravel: https://www.udemy.com/laravel-5-course-learn-php-laravel/?couponCode=forum
Best wishes.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community