kilrizzy / Laravel5-User-Commands by kilrizzy

L5 Commands for Generating Users and Roles
15
0
2
Package Data
Maintainer Username: kilrizzy
Maintainer Contact: jeffkilroy@gmail.com (Jeff Kilroy)
Package Create Date: 2015-04-06
Package Last Update: 2015-04-06
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 03:07:33
Package Statistics
Total Downloads: 15
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

User Commands

Laravel 5 User / Role Commands

Requires models for App\User and App\Role, preferably used with Zizaco/entrust

How To Install

  • Add to composer:
"kilrizzy/user-commands": "1.*"
  • Add to your providers:
'Kilrizzy\UserCommands\UserCommandsServiceProvider',

Commands

Creates 2 artisan commands:

php artisan role:create
  • Will ask details to create a new role (ie: admin). If the role name exists, will prompt to update the existing
php artisan user:create
  • Will ask details to create a new user. If user email exists, will prompt to update existing
  • Will ask the name of the role to assign to, so you can quickly create an admin user