Package Data | |
---|---|
Maintainer Username: | nusait |
Maintainer Contact: | hao@northwestern.edu (Hao Luo) |
Package Create Date: | 2013-10-01 |
Package Last Update: | 2014-08-23 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-15 03:02:02 |
Package Statistics | |
---|---|
Total Downloads: | 205 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 5 |
Total Forks: | 0 |
Total Open Issues: | 0 |
usermanager:adduser
usermanager:listusers
"nusait/usermanager-l4" : "*"
composer update
app.php
in your config folder'Nusait\UsermanagerL4\UsermanagerL4ServiceProvider',
php artisan config:publish nusait/usermanager-l4
app/config
folder, Create one with the following:<?php
return array(
'rdn' => 'your rdn string',
'password' => 'your password'
);
(User Model)
...
class User extends Eloquent implements UserInterface, RemindableInterface {
use Nusait\UsermanagerL4\Traits\UserManagerUserRelatable;
...
(Role Model)
...
class Role extends Eloquent {
use Nusait\UsermanagerL4\Traits\UserManagerRoleRelatable;
...
Run (on production server) Example:
php artisan usermanager:adduser netid --role="admin"