mnshankar / auth-scaffold by mnshankar

Laravel 5.1 authentication scaffolding
223
6
2
Package Data
Maintainer Username: mnshankar
Maintainer Contact: mnshankar@gmail.com (Shankar Manamalkav)
Package Create Date: 2015-07-28
Package Last Update: 2015-08-01
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:04:34
Package Statistics
Total Downloads: 223
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 6
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel 5.1 Authentication Scaffold

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

  1. Laravel Framework, Taylor Otwell - Original Code
  2. https://github.com/laravel/framework/tree/3db46b66ea66cae863514ea5c8f6f9d08dadab35/src/Illuminate/Foundation/Console