なのでメモ。あと、同じく5.2で追加されたmulti-authも良さげ。
1 2 3 4 5 6 7 8 9 10 11 12 13 |
$ php artisan make:auth Created View: /home/vagrant/Code/Laravel/resources/views/auth/login.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/auth/register.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/auth/passwords/email.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/auth/passwords/reset.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/auth/emails/password.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/layouts/app.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/home.blade.php Created View: /home/vagrant/Code/Laravel/resources/views/welcome.blade.php Installed HomeController. Updated Routes File. Authentication scaffolding generated successfully! $ |
参考サイト
Authentication – Laravel – The PHP Framework For Web Artisans
https://laravel.com/docs/5.2/authentication