A laravel based Admin panel boilerplate.
Disclaimer: No styles have been added to the admin panel views. Just some plain html in the blade views for you to build it with your preferred theme.
- Clone or download the repo.
- Copy or rename
.env.example
to.env
- Setup your
.env
keys - Run
composer install
- Run the migrations and seed the database with the default roles and permissions, ie.
php artisan migrate --seed
To access admin panel, you have to go to {yourproject}/admin/dashboard
, but first follow steps below:
- Create a normal user account
- Seed the database with the default permissions and roles (Skip this step if you seeded the database when setting up migrations).
- From console run:
php artisan role:assign [email protected] --role=admin-root
- All admin routes are in the
admin.php
file inroutes
folder.
Note: [email protected]
is the email
of the an account you have created, while admin-root
is the slug
of the default admin role.
If you have something to contribute to the project, you are welcome.
If you discover a security vulnerability within the project, please send an e-mail to Cuthbert Mirambo via [email protected]. All security vulnerabilities will be promptly addressed.
The project is open-sourced software licensed under the MIT license.