l5starter / user-management
Laravel 5 Start, Package users
Installs: 90
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:laravel-package
Requires
- l5starter/core: 5.4.x-dev
This package is not auto-updated.
Last update: 2024-11-23 21:15:18 UTC
README
Installation
In order to install Laravel 5, just add
"l5starter/user-management": "5.4.x-dev"
to your composer.json. Then run composer install
or composer update
.
Then in your config/app.php
add in providers
L5Starter\UserManagement\UserManagementServiceProvider::class,
Publish Configuration
php artisan vendor:publish --provider="L5Starter\UserManagement\UserManagementServiceProvider"
Running Seeders
$ php artisan db:seed --class=UsersTableSeeder $ php artisan db:seed --class=UserHasRolesTableSeeder
Add menu in resources/views/vendor/l5starter/admin/partials/sidebar.blade.php
<li class="{{ (Request::is('admin/users*') ? 'active' : '') }}"> <a href="{{ route('admin.users.index') }}"> <i class="fa fa-user"></i> <span>{{ trans('l5starter::general.users') }}</span> </a> </li>