kilrizzy / user-commands
L5 Commands for Generating Users and Roles
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/kilrizzy/user-commands
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-09-27 22:43:46 UTC
README
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