(I\'m a beginner of Laravel)
I\'m using Laravel 5.2. I have successfully enabled the Authentication; by doing the php artisan make:auth>
Laravel 5.2
php artisan make:auth>
Why not simple check for
if(Auth::check()){ //your code }
Make sure you include use Auth;
use Auth;