GitHub - LaravelDaily/laravel-roles-permissions-manager: Laravel 6 adminpanel st...
source link: https://github.com/LaravelDaily/laravel-roles-permissions-manager
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
readme.md
Laravel Roles Permissions Admin - Spatie version
Update October 2019: this project was created in 2017 as Laravel 5.4 version, and now we upgraded it to Laravel 6 version, also changed the design theme from AdminLTE to CoreUI
This is a Laravel 6 adminpanel starter project with roles-permissions management based on Spatie Laravel-permission package, CoreUI and Datatables.net.
We've also created almost identical project based on Joseph Silber's Bouncer package: see here
Part of this project was generated automatically by QuickAdminPanel system.
Usage
This is not a package - it's a full Laravel project that you should use as a starter boilerplate, and then add your own custom functionality.
- Clone the repository with
git clone
- Copy
.env.example
file to.env
and edit database credentials there - Run
composer install
- Run
php artisan key:generate
- Run
php artisan migrate --seed
(it has some seeded data - see below) - That's it: launch the main URL and login with default credentials
[email protected]
-password
This boilerplate has one role (administrator
), one permission (users_manage
) and one administrator user.
With that user you can create more roles/permissions/users, and then use them in your code, by using functionality like Gate
or @can
, as in default Laravel, or with help of Spatie's package methods.
License
The MIT license.
Notice
We are not responsible for any functionality or bugs in CoreUI, Laravel-permission or Datatables packages or their future versions, if you find bugs there - please contact vendors directly.
More from our LaravelDaily Team
- Check out our adminpanel generator QuickAdminPanel
- Read our Blog with Laravel Tutorials
- FREE E-book: 50 Laravel Quick Tips (and counting)
- Subscribe to our newsletter with 20+ Laravel links every Thursday
- Subscribe to our YouTube channel Laravel Business
- Enroll in our Laravel Online Courses
Recommend
-
59
Laravel Admin Panel (Current: Laravel 7.*) Introduction Laravel Admin Panel provides you with a massive head start on any size web application. It comes with a full featured access control system out of the box with an eas...
-
9
README.md Boilerplate Project For NextJS Admin Panel Tech Stack Frontend React(Next JS) Typescript Apollo Client G...
-
4
Laravel starter admin with roles and permissions Jun 29 ・2 min read ...
-
17
Laravel Learning Path This repository contains the ordered list of Laravel topics to learn, step-by-step, with related links. If you want to add a topic, link, or any other suggestion, please open Issues or Pu...
-
7
Laravel Challenge: API Controller - Voices This is a Controller code that needs to be improved, in whatever way possible. Author's question: "how to make clean code to this code" Source:
-
11
Laravel Tips Awesome Laravel tips and tricks for all artisans. PR and ideas are welcome! An idea by PovilasKorop and MarceauKa. Hey...
-
6
Test Your Laravel Auth Skills This repository is a test for you: perform a set of tasks listed below, and fix the PHPUnit tests, which are currently intentionally failing. To test if all the functions work correctly, there are...
-
4
Test Your Laravel Migrations Skills This repository is a test for you: perform a set of tasks listed below, and fix the PHPUnit tests, which are currently intentionally failing. To test if all the functions work correctly, the...
-
2
Test Your Laravel Routing Skills This repository is a test for you: fill in routes/web.php and routes/api.php which are left intentionally empty. In both of those files, you will find comments, descri...
-
3
Laravel 8 - User Roles and Permissions using Spatie 40205 views 8 months ago Laravel nowaday our leading subject is laravel...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK