Download the PHP package jamesmills/laravel-admin without Composer
On this page you can find all versions of the php package jamesmills/laravel-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jamesmills/laravel-admin
More information about jamesmills/laravel-admin
Files in jamesmills/laravel-admin
Package laravel-admin
Short Description A very simple admin panel for managing users, roles & permissions.
License MIT
Informations about the package laravel-admin
Laravel Admin Starter
A very simple admin panel for managing users, roles & permissions.
The premise for this package is to eradicate the duplicate work I do for every new Laravel project I setup.
You will get a default user who has the role of admin. You will be able to log into the system with this user and manage all roles and permissions using a simple Bootstrap UI. The default yourapp.local/admin
route will be restricted to users with admin role only. You will get a good default to build your application views and backend views separately.
Installation
Note: This package should be run as soon as you have created a new laravel project.
-
Run
- Install the admin package.
What this packages does
- Install the below packages
- Run a migration
- Create tables for
roles
,role_user
,permissions
,permission_role
- Create tables for
- Create a new user
Admin User ([email protected])
with the passwordp455word
- Publish the Laravel Auth view files using 'php artisan make:auth'
- Publish some additional view/template files
- All CRUD view files for
users
,roles
andpermissions
- A dedicated backend template
resources/views/templates/backend.blade.php
- All CRUD view files for
- Replace the AuthServiceProvider class with a new version
- Replace the web routes file with a new version
- Replaces the
User
model with a new version so that it has theHasRoles
trail reference
Roles & Permissions
- Create some roles.
- Create some permissions.
- Give permission(s) to a role.
- Create user(s) with role.
-
For checking authenticated user's role see below:
- For checking permissions see below:
Learn more about ACL from here
Acknowledgements
The origin of this package is a fork from appzcoder/laravel-admin by Sohel Amin.
Note: I cloned the original project and created this so that I could remove the CRUD stuff.
All versions of laravel-admin with dependencies
illuminate/support Version ^5.1
laravelcollective/html Version ~5.1
laracasts/flash Version ^3.0