• Stars
    star
    402
  • Rank 107,380 (Top 3 %)
  • Language Blade
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Users Management 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. Built for Laravel 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6.0, 7.0 and 8.0.

Laravel Users

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.

Latest Stable Version Total Downloads Travis-CI Build StyleCI Scrutinizer Code Quality License: MIT Become a Patreon

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:

Installation Instructions

  1. From your projects root folder in terminal run:

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

        composer require jeremykenedy/laravel-users
    

    Laravel 5.5 use:

        composer require jeremykenedy/laravel-users:2.0.2
    

    Laravel 5.4 use:

        composer require jeremykenedy/laravel-users:1.4.0
    

    Laravel 5.3 use:

        composer require jeremykenedy/laravel-users:1.3.0
    

    Laravel 5.2 use:

        composer require jeremykenedy/laravel-users:1.2.0
    
  2. Register Package

  • 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.

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

       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.

  • Laravel 5.4 and below In config/app.php section under aliases with the following:

        '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:

        php artisan vendor:publish --tag=laravelusers
    

Configuration

Laravel Users can be configured directly in /config/laravelusers.php once you publish the assets.

    /*
    |--------------------------------------------------------------------------
    | 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)

Screenshots

Show Users Show User Edit User Edit User Password Create User Create User Modal Delete User Modal Error Create Error Update Error Delete

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 [email protected]
  • 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.

License

Laravel Users | A Laravel Users Management Package is open-sourced software licensed under the MIT license. Enjoy!

More Repositories

1

laravel-auth

Laravel 10 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. 5 Minutes Stand-up time.
JavaScript
2,924
star
2

laravel-roles

A Powerful package for handling roles and permissions in Laravel with GUI. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6.0, 7.0, 8.0, and 9.0
PHP
891
star
3

laravel-logger

An out the box activity logger for your Laravel or Lumen application. Laravel logger is an activity event logger for your laravel application. It comes out the box with ready to use with dashboard to view your activity. Laravel logger can be added as a middleware or called through a trait. This package is easily configurable and customizable. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, and 7+
PHP
494
star
4

laravel-material-design

Laravel 5.6 on Material Design Lite 1.3 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. This makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. Uses laravel ORM modeling and has CRUD (Create Read Update Delete) functionality for all tasks. Quick setup, can be done in 5 minutes. It will take longer to obtain your Facebook, Twitter, and Google Plus API Keys than it will to set this up.
JavaScript
260
star
5

laravel2step

Laravel 2-Step verification is a package to add 2-Step user authentication to any Laravel project easily. It is configurable and customizable. It uses notifications to send the user an email with a 4-digit verification code. Laravel 2-Step Authentication Verification for Laravel. Can be used in out the box with Laravel's authentication scaffolding or integrated into other projects.
PHP
213
star
6

larablog

A powerful open source Laravel Blog with WYSWYG and CRUD (Create Read Update Delete) built on Laravel 5.8 and Bootstrap 4
PHP
146
star
7

laravel-exception-notifier

Laravel Exception Notifier will send an email of the error along with the stack trace to the chosen recipients. This Package includes all necessary traits, views, configs, and Mailers for email notifications upon your applications exceptions. You can customize who send to, cc to, bcc to, enable/disable, and custom subject or default subject based on environment. Built for Laravel 5.2, 5.3, 5.4, 5.5+. Get the errors and fix them before the client even reports them, that's why this exists! For Laravel 5, 6, and 7
PHP
125
star
8

laravel-spa

A Laravel + Socialite + Vite + Vue 3 + TailwindCSS SPA Boilerplate with user authentication, registration, email verification, social media authentication, password recovery, user management, and roles/permissions management. Uses TailwindCSS. While the front end is part of this repository it is a completely separated Vue 3 front end.
JavaScript
98
star
9

laravel-blocker

Larave Blocker is a middleware interface to block users, emails, ip addresses, domain names, cities, states, countries, continents, and regions from using your application, logging in, or registering. The types of items to be blocked can be extended to what you think via a seed. The items you are blocking have a CRUD interface along with a softdeletes interface.
Blade
92
star
10

laravel-admin

Laravel 5.2 + Bootstrap 3.5 + AdminLTE 2.3
JavaScript
61
star
11

slack-laravel

Laravel integration for the Slack, including facades and service providers.
PHP
55
star
12

laravel-phpinfo

Laravel PHP Info is a package that provides a PHPInfo() page using blade templating. The config file can be used to enable/disable auth protection and specify the roles middleware.
PHP
44
star
13

laravel-podcast

Laravel Podcast is Laravel 5.5 web app that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI and User Authentication.
PHP
38
star
14

laravel-https

Laravel Https is middleware to check for Secure HTTP requests. Laravel Https has can check for HTTPS and throw an error or automatically redirect to HTTPS.
PHP
34
star
15

laravel-tasks

An app of tasks lists for each individual user. Built on Laravel 5.2, using 5.2 authentication and middleware. This has robust verbose examples using Laravel best practices. The task list is a build out of https://laravel.com/docs/5.2/quickstart. This included minimal bootstrap implementation.
PHP
26
star
16

laravel-time-tracker

Laravel Angular Time Tracker is a simple time tracking application built on Laravel 5.2, Angular 2, and Bootstrap 3. It uses Laravel's built in authentication, MySQL, Angular Bootstrap 1.3.*, Angular Resource 1.5.* ngResource, jQuery 2.2.4 and Moment.js 2.13.*
PHP
25
star
17

laravel-soundboard

An open source Laravel Soundboard with Admin Panel CRUD (Create Read Update Delete) built on Laravel, Bootstrap, and Vue.js
PHP
24
star
18

laravel-uuid

Laravel package to generate a UUID according to the RFC 4122 standard. UUID Versions 1, 3, 4 and 5 are supported.
PHP
22
star
19

laravelpodcast

Laravel Podcast Manager is a complete podcast manager package for Laravel 5.3+ that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI.
CSS
22
star
20

laravel-dashboard

This is an example of Spatie Laravel Dashboard using Livewire and package components. This example has all settings extended to the `dashboard.php` config file and the `.env` file. This example uses minimal styling and customization.
PHP
14
star
21

laravel-passport

Laravel-passport is a basic API server build using Laravel, Passport, and Vue.js License Build Status This will act as the API server for laravel-consume. It is recommended that you setup and use Laravel Homestead as your development environment for this project. Personal Token Scoped with middleware for API routes is configured and ready to go. Included Laravel Scaffolding User, Editor, and Administrator Authentication with CRUD (Create, Read, Update, Delete) user management.
PHP
11
star
22

slack

A simple PHP package for sending messages to Slack.
PHP
9
star
23

laravel-pusher-chat

Example of chat messaging system with pusher and Eloquent
HTML
8
star
24

laravel-nerds

A Laravel 5.1 ORM example with Nerds as users.
PHP
7
star
25

laravel-email-database-log

A database logger for all outgoing emails sent by your Laravel application.
PHP
6
star
26

laravel-roles-example

An example of jeremykenedy/laravel-roles, a Laravel 5.4+ roles package.
PHP
6
star
27

laravel-packagist

An easy way to get vendor and package data from Packagist via API calls
PHP
5
star
28

microsoft-powerbi-javascript-example

Microsoft Power BI is a suite of business analytics tools that deliver insights throughout your organization. This is an example of the powerbi-client API javascript embeded interface.
JavaScript
5
star
29

jquery-ui-position-sql-save

Save position and resize properties of jQuery UI to a SQL table.
JavaScript
4
star
30

laravel-consumer

PHP
3
star
31

bootstrap-youtube-modal-plugin

Bootstap YouTube video modal helper, with auto video switcher to modal.
HTML
3
star
32

konami-asteroids

Use the Konami code to easily add a playable Astroids game to a page using the html as the game
JavaScript
3
star
33

laravel-todo

PHP
2
star
34

jeremy-sound-board

Set of wav files for the soundboard
2
star
35

laravel-charts

PHP
2
star
36

pushit

Salt and Pepper Push on Git Push - Or whatever mp3 you like. Basic bash shell-script calling git and afplay commands. The file mp3 file name and path are in a variable for easy maintenance and reusability for more alias's, you can also create more variables for other mp3's as well as just call them directly in your alias. This is pretty light weight and strait forward. The mp3 file was trimmed with quicktime and is being played with the native mac os (maybe linux? confirm?) player. The mp3 file is 274KB and the the attached shell script (sh) file is B. You can can the script file using the sh command or directly add the contents into your bash profile. Have fun !!!!! :)
Shell
2
star
37

hiupload-client

Vue
1
star
38

laravel_frozennode_cms

JavaScript
1
star
39

jeremykenedy

1
star
40

laravel-react-tasks

Simple create/read/update task list example using Laravel 5.7 API routes and ReactJS UI.
PHP
1
star
41

laravel-react-products

Simple products Create/Read example using Laravel 5.7 and ReactJS UI.
PHP
1
star
42

polr2

PHP
1
star
43

yt-video-gallery

jquery youtube video gallery plugin
JavaScript
1
star
44

pure-javascript-sorting

An example of sorting records with pure javascript.
HTML
1
star
45

action-planner-example

Example
PHP
1
star
46

zoom-care-events

A simple fully expandable Node.js app that takes JSON data and renders it in a MVC style setup with Express.js
CSS
1
star
47

laravel.local

An out the Box Laravel Installation with Auth scaffolding - For example purposes.
PHP
1
star
48

hiupload-api

PHP
1
star
49

crudbooster-example

PHP
1
star
50

angular-js-bootstrap-scss

This is an example of a front end application using Angular.js.
JavaScript
1
star
51

jeremykenedy.github.io

CSS
1
star
52

taco-time

Simple example Laravel 5.7 app to calculate taco checkout time using a VueJS 2 front end calling Laravel API endpoints.
PHP
1
star
53

laralogin

Laravel 5.1 with authentication and User/Admin MIddlware. Purely based on Laravel 5.1 documentations located at http://laravel.com/docs/5.1/authentication.
PHP
1
star
54

timezones

This is a base example of a laravel package. The focus is on the framework of the package and the essential elements and not so much what it actually does. It returns the time and date in a Laravel application when going to the the URL /timezones/{TIMEZONE} from the projects base url.
HTML
1
star
55

vue-cordova-ratchet

A Template created with vue cli and vue-cordova. This will compile using to IOS, Android, Electron, and OSX native all from the cli out the box!
Objective-C
1
star
56

resize-listener

A pure javascript resize listener, checks on page load and on every window resize. Handy for scripts and functions that need to run on mobile but not desktop or vice versa.
JavaScript
1
star