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 easy to learn API and is built on a Bootstrap foundation with a front and backend architecture. We have put a lot of work into it and we hope it serves you well and saves you time!
- The project is based on the Rappasoft Laravel Boilerplate, with enhancements and many modules pre-made, just for you.
- Article on our Admin Panel on CodeWall : https://www.codewall.co.uk/the-laravel-admin-panel-that-you-need/
- MIT: http://anthony.mit-license.org
Setup
Clone the repo and follow below steps.
- Run
composer install
- Copy
.env.example
to.env
Example for linux users :cp .env.example .env
- Set valid database credentials of env variables
DB_DATABASE
,DB_USERNAME
, andDB_PASSWORD
- Run
php artisan key:generate
to generate application key - Run
php artisan migrate
- Run
php artisan passport:install
- Run
php artisan db:seed
to seed your database - Run
npm i
(Recommended node version>= V10.0
) - Run
npm run dev
ornpm run prod
as per your environment
Thats it... Run the command php artisan serve
and cheers, you are good to go with your new Laravel Admin Panel application.
Using docker to run the application
docker-compose build
docker/cli composer install
docker/cli php artisan key:generate
docker/cli php artisan migrate
docker/cli php artisan passport:install
docker/cli php artisan db:seed
docker/npm i
docker/npm run dev
docker-compose up -d
You can login to docker cli using the command docker exec -ti ls-www /bin/bash
Note: Please make sure that you have proper permissions when setting up the project via docker.
The application uses GrumPHP for the git pre-commit hook and PHPCSFixer for the code standards. You can also bypass the GrumPHP
pre-commit hook by hitting git commit -n
or git commit --no-verify
Demo Credentials
Make sure you have run the command php artisan db:seed --class UserTableSeeder
before you use these credentials.
User: [email protected]
Password: 1234
User: [email protected]
Password: 1234
User: [email protected]
Password: 1234
Useful Commands
- To format your code:
composer format
- To run the test cases:
./vendor/bin/phpunit
- The test cases report will be placed in the
reports
directory
- The test cases report will be placed in the
- To generate scribe API documentation:
php artisan scribe:generate
- Documentation will be generated and placed in the
public/docs
directory
- Documentation will be generated and placed in the
ScreenShots
Dashboard
User Listing
Log Viewer
Issues
If you come across any issues please report them here.
Contribution
Feel free to create any pull requests for the project. For proposing any new changes or features you want to add to the project, you can send us an email at following addresses.
1. Alan Whitmore - [email protected]
2. Vicky Patel - [email protected]