nusait / usermanager-l4
Installs: 207
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/nusait/usermanager-l4
Requires
- php: >=5.3.0
- illuminate/console: ~4
- illuminate/support: ~4
- nusait/nuldap: *
This package is not auto-updated.
Last update: 2025-10-20 20:02:58 UTC
README
Available Commands
usermanager:adduser
usermanager:listusers
To Install
- Include the following in your composer.json
"nusait/usermanager-l4" : "*"
- Run
composer update
- Include the following in your
app.phpin your config folder
'Nusait\UsermanagerL4\UsermanagerL4ServiceProvider',
- Publish the configuration
php artisan config:publish nusait/usermanager-l4
- If you don't have a ldap.php in your
app/configfolder, Create one with the following:
<?php return array( 'rdn' => 'your rdn string', 'password' => 'your password' );
- Include Traits in your User and Role models
(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; ...
To Use
Run (on production server) Example:
php artisan usermanager:adduser netid --role="admin"