set auth on laravel code example Example 1: laravel setup auth // Laravel 5.x php artisan make:auth Example 2: authentication in laravel tutorial laravelAuth