mnshankar/auth-scaffold
最新稳定版本:1.1
Composer 安装命令:
composer require mnshankar/auth-scaffold
包简介
Laravel 5.1 authentication scaffolding
README 文档
README
Laravel 5.0 had this cool "opt-in" artisan command to generate files required to quickly scaffold a simple authentication system. Apart from the auth views (login, register, change pwd), this also created a master layout page. This was a great time saver for me.
For unknown reasons, this feature did not make it to version 5.1. So, I modified the code that Taylor wrote for the 5.0 branch and created a package.
Installation
Pull in the package via composer:
composer require mnshankar/auth-scaffold
Add the package service provider to your config/app.php file:
/* * Application Service Providers... */ mnshankar\auth\AuthServiceProvider::class,
Usage
The package exposes an artisan command called 'scaffold:auth'
php artisan scaffold:auth
Navigating to /home should bring up the auth page.
Usage Notes
It is highly recommended that you run this only on a fresh Laravel install - even prior to changing the default 'App' namespace. It replaces and copies several (key) files (controllers,routes and views).
Credits
- Laravel Framework, Taylor Otwell - Original Code
- https://github.com/laravel/framework/tree/3db46b66ea66cae863514ea5c8f6f9d08dadab35/src/Illuminate/Foundation/Console
统计信息
- 总下载量: 224
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-28