2017 © Pedro Peláez
 

library usermanager-l4

image

nusait/usermanager-l4

  • Saturday, August 23, 2014
  • by nusait
  • Repository
  • 4 Watchers
  • 0 Stars
  • 197 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

UserManager Artisan Command Package

Available Commands

usermanager:adduser
usermanager:listusers

To Install

  1. Include the following in your composer.json
"nusait/usermanager-l4" : "*"
  1. Run
composer update
  1. Include the following in your app.php in your config folder
'Nusait\UsermanagerL4\UsermanagerL4ServiceProvider',
  1. Publish the configuration
php artisan config:publish nusait/usermanager-l4
  1. If you don't have a ldap.php in your app/config folder, Create one with the following:
<?php
    return array(
        'rdn' => 'your rdn string',
        'password' => 'your password'
    );
  1. Include Traits in your User and Role models

(User Model), (*1)

 ...
class User extends Eloquent implements UserInterface, RemindableInterface {
    use Nusait\UsermanagerL4\Traits\UserManagerUserRelatable;
 ...

(Role Model), (*2)

 ...
class Role extends Eloquent {
    use Nusait\UsermanagerL4\Traits\UserManagerRoleRelatable;
 ...

To Use

Run (on production server) Example:, (*3)

php artisan usermanager:adduser netid --role="admin"

The Versions

23/08 2014

dev-master

9999999-dev

  Sources   Download

The Requires

 

laravel ldap artisan user-management

23/08 2014

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

laravel ldap artisan user-management