basic laravel login controller code example Example: laravel setup auth // Laravel 5.x php artisan make:auth