library user-commands
L5 Commands for Generating Users and Roles
kilrizzy/user-commands
L5 Commands for Generating Users and Roles
- Monday, April 6, 2015
- by kilrizzy
- Repository
- 1 Watchers
- 0 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
User Commands
Laravel 5 User / Role Commands, (*1)
Requires models for App\User and App\Role, preferably used with Zizaco/entrust, (*2)
How To Install
-
Add to composer:, (*3)
"kilrizzy/user-commands": "1.*"
-
Add to your providers:, (*4)
```
'Kilrizzy\UserCommands\UserCommandsServiceProvider',, (*5)
# Commands
Creates 2 artisan commands:
php artisan role:create, (*6)
- 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
dev-master
9999999-dev
L5 Commands for Generating Users and Roles
Sources
Download
MIT
The Requires
laravel
commands
1.0.1
1.0.1.0
L5 Commands for Generating Users and Roles
Sources
Download
MIT
The Requires
laravel
commands
v1.0
1.0.0.0
L5 Commands for Generating Users and Roles
Sources
Download
MIT
The Requires
laravel
commands