2017 © Pedro Pelรกez
 

package laravel-users

Laravel Users Management CRUD Package

image

jeremykenedy/laravel-users

Laravel Users Management CRUD Package

  • Saturday, June 23, 2018
  • by jeremykenedy
  • Repository
  • 13 Watchers
  • 77 Stars
  • 4,141 Installations
  • HTML
  • 1 Dependents
  • 0 Suggesters
  • 30 Forks
  • 0 Open issues
  • 29 Versions
  • 27 % Grown

The README.md

Laravel Users, (*1)

Laravel Users | A Laravel Users CRUD Management Package

A Users Management CRUD Package that includes all necessary routes, views, models, and controllers for a user management dashboard and associated pages for managing Laravels built in user scaffolding. Easily start creating, updating, editing, and deleting users in minutes with minimal setup required; Easily search all users, helpful for large user bases., (*2)

Latest Stable Version Total Downloads Travis-CI Build StyleCI Scrutinizer Code Quality License: MIT Become a Patreon , (*3)

Table of contents

Features

Laravel Users Features
Full CRUD of Laravel Users
Works with built in auth scaffolding
Works with various Roles/ACL Packages
Uses Language localization File System
Uses font awesome, cdn can be optionally called in config
Can use built in pagination and/or datatables.js
Can search all users by name, id, or email
Lots of configuration options

Requirements

Integrations

Laravel users can work out the box with or without the following roles packages: * jeremykenedy/laravel-roles * Zizaco/entrust * romanbican/roles * ultraware/roles, (*4)

Installation Instructions

  1. From your projects root folder in terminal run:, (*5)

    Laravel 5.6, 5.7, 5.8, 6, 7, and 8+ use:, (*6)

        composer require jeremykenedy/laravel-users
    

    Laravel 5.5 use:, (*7)

        composer require jeremykenedy/laravel-users:2.0.2
    

    Laravel 5.4 use:, (*8)

        composer require jeremykenedy/laravel-users:1.4.0
    

    Laravel 5.3 use:, (*9)

        composer require jeremykenedy/laravel-users:1.3.0
    

    Laravel 5.2 use:, (*10)

        composer require jeremykenedy/laravel-users:1.2.0
    
  2. Register Package, (*11)

* Laravel 5.5, 5.6, 5.7, 5.8, 6, 7, 8+ Uses package auto discovery feature, no need to edit the config/app.php file., (*12)

  • Laravel 5.4 and below Register the package with laravel in config/app.php under providers with the following:, (*13)

      Collective\Html\HtmlServiceProvider::class,
      jeremykenedy\laravelusers\LaravelUsersServiceProvider::class,
    
  1. Register the dependencies aliases

* Laravel 5.5 and up Uses package auto discovery feature, no need to edit the config/app.php file., (*14)

  • Laravel 5.4 and below In config/app.php section under aliases with the following:, (*15)

        'Form' => Collective\Html\FormFacade::class,
        'Html' => Collective\Html\HtmlFacade::class,
    
  1. Publish the package config and language files by running the following from your projects root folder:, (*16)

        php artisan vendor:publish --tag=laravelusers
    

Configuration

Laravel Users can be configured directly in /config/laravelusers.php once you publish the assets., (*17)

    /*
    |--------------------------------------------------------------------------
    | Laravel-users setting
    |--------------------------------------------------------------------------
    */

    // The parent blade file
    'laravelUsersBladeExtended'     => 'laravelusers::layouts.app', // 'layouts.app'

    // Enable `auth` middleware
    'authEnabled'                   => true,

    // Enable Optional Roles Middleware on the users assignments
    'rolesEnabled'                  => false,

    /*
     | Enable Roles Middlware on the usability of this package.
     | This requires the middleware from the roles package to be registered in `App\Http\Kernel.php`
     | An Example: of roles middleware entry in protected `$routeMiddleware` array would be:
     | 'role' => \jeremykenedy\LaravelRoles\Middleware\VerifyRole::class,
     */

    'rolesMiddlwareEnabled'         => true,

    // Optional Roles Middleware
    'rolesMiddlware'                => 'role:admin',

    // Optional Role Model
    'roleModel'                     => 'jeremykenedy\LaravelRoles\Models\Role',

    // Enable Soft Deletes - Not yet setup - on the roadmap.
    'softDeletedEnabled'            => false,

    // Laravel Default User Model
    'defaultUserModel'              => 'App\User',

    // Use the provided blade templates or extend to your own templates.
    'showUsersBlade'                => 'laravelusers::usersmanagement.show-users',
    'createUserBlade'               => 'laravelusers::usersmanagement.create-user',
    'showIndividualUserBlade'       => 'laravelusers::usersmanagement.show-user',
    'editIndividualUserBlade'       => 'laravelusers::usersmanagement.edit-user',

    // Use Package Bootstrap Flash Alerts
    'enablePackageBootstapAlerts'   => true,

    // Users List Pagination
    'enablePagination'              => true,
    'paginateListSize'              => 25,

    // Enable Search Users- Uses jQuery Ajax
    'enableSearchUsers'             => true,

    // Users List JS DataTables - not recommended use with pagination
    'enabledDatatablesJs'           => false,
    'datatablesJsStartCount'        => 25,
    'datatablesCssCDN'              => 'https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css',
    'datatablesJsCDN'               => 'https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js',
    'datatablesJsPresetCDN'         => 'https://cdn.datatables.net/1.10.12/js/dataTables.bootstrap.min.js',

    // Bootstrap Tooltips
    'tooltipsEnabled'               => true,
    'enableBootstrapPopperJsCdn'    => true,
    'bootstrapPopperJsCdn'          => 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js',

    // Icons
    'fontAwesomeEnabled'            => true,
    'fontAwesomeCdn'                => 'https://use.fontawesome.com/releases/v5.0.6/css/all.css',

    // Extended blade options for packages app.blade.php
    'enableBootstrapCssCdn'         => true,
    'bootstrapCssCdn'               => 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css',

    'enableAppCss'                  => true,
    'appCssPublicFile'              => 'css/app.css',

    'enableBootstrapJsCdn'          => true,
    'bootstrapJsCdn'                => 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js',

    'enableAppJs'                   => true,
    'appJsPublicFile'               => 'js/app.js',

    'enablejQueryCdn'               => true,
    'jQueryCdn'                     => 'https://code.jquery.com/jquery-3.3.1.min.js',

Routes

  • /users
  • /users/{id}
  • /users/create
  • /users/{id}/edit
Routes In-depth
Method URI Name Action Middleware
GET/HEAD users users jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@index web,auth
POST users users.store jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@store web,auth
GET/HEAD users/create users.create jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@create web,auth
GET/HEAD users/{user} users.show jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@show web,auth
DELETE users/{user} user.destroy jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@destroy web,auth
PUT/PATCH users/{user} users.update jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@update web,auth
GET/HEAD users/{user}/edit users.edit jeremykenedy\laravelusers\app\Http\Controllers\UsersManagementController@edit web,auth

Required Packages

(included in this package), (*18)

Screenshots

Show Users Show User Edit User Edit User Password Create User Create User Modal Delete User Modal Error Create Error Update Error Delete, (*19)

File Tree

laravel-users/
โ”œโ”€โ”€ .env.travis
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ .travis.yml
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ composer.json
โ”œโ”€โ”€ phpunit.xml
โ”œโ”€โ”€ readme.md
โ””โ”€โ”€ src
    โ”œโ”€โ”€ App
    โ”‚ย ย  โ””โ”€โ”€ Http
    โ”‚ย ย      โ””โ”€โ”€ Controllers
    โ”‚ย ย          โ””โ”€โ”€ UsersManagementController.php
    โ”œโ”€โ”€ LaravelUsersFacade.php
    โ”œโ”€โ”€ LaravelUsersServiceProvider.php
    โ”œโ”€โ”€ config
    โ”‚ย ย  โ””โ”€โ”€ laravelusers.php
    โ”œโ”€โ”€ resources
    โ”‚ย ย  โ”œโ”€โ”€ lang
    โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ en
    โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ app.php
    โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ forms.php
    โ”‚ย ย  โ”‚ย ย      โ”œโ”€โ”€ laravelusers.php
    โ”‚ย ย  โ”‚ย ย      โ””โ”€โ”€ modals.php
    โ”‚ย ย  โ””โ”€โ”€ views
    โ”‚ย ย      โ”œโ”€โ”€ layouts
    โ”‚ย ย      โ”‚ย ย  โ””โ”€โ”€ app.blade.php
    โ”‚ย ย      โ”œโ”€โ”€ modals
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ modal-delete.blade.php
    โ”‚ย ย      โ”‚ย ย  โ””โ”€โ”€ modal-save.blade.php
    โ”‚ย ย      โ”œโ”€โ”€ partials
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ bs-visibility-css.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ form-status.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ search-users-form.blade.php
    โ”‚ย ย      โ”‚ย ย  โ””โ”€โ”€ styles.blade.php
    โ”‚ย ย      โ”œโ”€โ”€ scripts
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ check-changed.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ datatables.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ delete-modal-script.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ save-modal-script.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ search-users.blade.php
    โ”‚ย ย      โ”‚ย ย  โ”œโ”€โ”€ toggleText.blade.php
    โ”‚ย ย      โ”‚ย ย  โ””โ”€โ”€ tooltips.blade.php
    โ”‚ย ย      โ””โ”€โ”€ usersmanagement
    โ”‚ย ย          โ”œโ”€โ”€ create-user.blade.php
    โ”‚ย ย          โ”œโ”€โ”€ edit-user.blade.php
    โ”‚ย ย          โ”œโ”€โ”€ show-user.blade.php
    โ”‚ย ย          โ””โ”€โ”€ show-users.blade.php
    โ””โ”€โ”€ routes
        โ””โ”€โ”€ web.php


  • Tree command can be installed using brew: brew install tree
  • File tree generated using command tree -a -I '.git|node_modules|vendor|storage|tests'

Opening an Issue

Before opening an issue there are a couple of considerations: * You are all awesome! * Read the instructions and make sure all steps were followed correctly. * Check that the issue is not specific to your development environment setup. * Provide duplication steps. * Attempt to look into the issue, and if you have a solution, make a pull request. * Show that you have made an attempt to look into the issue. * Check to see if the issue you are reporting is a duplicate of a previous reported issue. * Following these instructions show me that you have tried. * If you have a questions send me an email to jeremykenedy@gmail.com * Need some help, I can do my best on Slack: https://opensourcehelpgroup.slack.com * Please be considerate that this is an open source project that I provide to the community for FREE when opening an issue., (*20)

License

Laravel Users | A Laravel Users Management Package is open-sourced software licensed under the MIT license. Enjoy!, (*21)

The Versions

23/06 2018

dev-master

9999999-dev

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

02/06 2018

v3.1.0

3.1.0.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

v3.0.4

3.0.4.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

v3.0.3

3.0.3.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

dev-analysis-z9DvP6

dev-analysis-z9DvP6

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

dev-analysis-zYZpKy

dev-analysis-zYZpKy

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

v3.0.2

3.0.2.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

dev-development

dev-development

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

26/02 2018

v3.0.1

3.0.1.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

24/02 2018

dev-scrutinizer-patch-2

dev-scrutinizer-patch-2

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

24/02 2018

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

24/02 2018

dev-analysis-qgwnj1

dev-analysis-qgwnj1

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

24/02 2018

v3.0.0

3.0.0.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jeremykenedy

laravel crud management users

11/02 2018

v2.0.2

2.0.2.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel crud management users

10/02 2018

v2.0.1

2.0.1.0

Laravel Users Management CRUD Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel crud management users

10/02 2018

v2.0.0

2.0.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

19/01 2018

dev-analysis-XNQg6E

dev-analysis-XNQg6E

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

03/09 2017

v1.5.0

1.5.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

20/05 2017

v1.4.0

1.4.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

20/05 2017

v1.3.0

1.3.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

20/05 2017

v1.2.0

1.2.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

20/05 2017

v1.0.2

1.0.2.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

20/05 2017

dev-l5.2

dev-l5.2

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

29/03 2017

v0.9.0

0.9.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

17/03 2017

v1.0.1

1.0.1.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

26/02 2017

v1.0.0

1.0.0.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

26/02 2017

v0.0.2

0.0.2.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

26/02 2017

v0.0.3rc

0.0.3.0-RC

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users

25/02 2017

v0.0.1

0.0.1.0

Laravel Users Management Package

  Sources   Download

MIT

The Requires

 

by Avatar jeremykenedy

laravel management users