https://github.com/supercoolx/gocp
Laravel Roles Permissions Admin - Spatie version
https://github.com/supercoolx/gocp
framework full-stack laravel php
Last synced: about 1 month ago
JSON representation
Laravel Roles Permissions Admin - Spatie version
- Host: GitHub
- URL: https://github.com/supercoolx/gocp
- Owner: supercoolx
- Created: 2021-12-19T00:27:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-19T16:19:43.000Z (over 4 years ago)
- Last Synced: 2025-08-01T16:58:32.349Z (10 months ago)
- Topics: framework, full-stack, laravel, php
- Language: Blade
- Homepage:
- Size: 12.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 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](https://adminlte.io/) to [CoreUI](https://coreui.io)
- - - - -
This is a Laravel 6 adminpanel starter project with roles-permissions management based on [Spatie Laravel-permission package](https://github.com/spatie/laravel-permission), [CoreUI](https://coreui.io) and [Datatables.net](https://datatables.net).
We've also created almost identical project based on Joseph Silber's Bouncer package: [see here](https://github.com/LaravelDaily/laravel-roles-permissions-bouncer)
Part of this project was generated automatically by [QuickAdminPanel system](https://quickadminpanel.com/).


## 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 `admin@admin.com` - `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](http://opensource.org/licenses/MIT).
## 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](https://quickadminpanel.com)
- Read our [Blog with Laravel Tutorials](https://laraveldaily.com)
- FREE E-book: [50 Laravel Quick Tips (and counting)](https://laraveldaily.com/free-e-book-40-laravel-quick-tips-and-counting/)
- Subscribe to our [newsletter with 20+ Laravel links every Thursday](http://laraveldaily.com/weekly-laravel-newsletter/)
- Subscribe to our [YouTube channel Laravel Business](https://www.youtube.com/channel/UCTuplgOBi6tJIlesIboymGA)
- Enroll in our [Laravel Online Courses](https://laraveldaily.teachable.com/)