2017 © Pedro Peláez
 

project laravel-adminpanel

The Laravel AdminPanel with API Boilerplate.

image

viral/laravel-adminpanel

The Laravel AdminPanel with API Boilerplate.

  • Wednesday, August 1, 2018
  • by bvipul
  • Repository
  • 27 Watchers
  • 209 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 88 Forks
  • 1 Open issues
  • 18 Versions
  • 0 % Grown

The README.md

Laravel Admin Panel (Current: Laravel 7.*)

StyleCI GitHub contributors GitHub stars, (*1)

### 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!, (*2)

### Setup

Clone the repo and follow below steps. 1. Run composer install 2. Copy .env.example to .env Example for linux users : cp .env.example .env 3. Set valid database credentials of env variables DB_DATABASE, DB_USERNAME, and DB_PASSWORD 4. Run php artisan key:generate to generate application key 5. Run php artisan migrate 6. Run php artisan passport:install 7. Run php artisan db:seed to seed your database 7. Run npm i (Recommended node version >= V10.0) 8. Run npm run dev or npm run prod as per your environment, (*3)

Thats it... Run the command php artisan serve and cheers, you are good to go with your new Laravel Admin Panel application., (*4)

### Using docker to run the application

  1. docker-compose build
  2. docker/cli composer install
  3. docker/cli php artisan key:generate
  4. docker/cli php artisan migrate
  5. docker/cli php artisan passport:install
  6. docker/cli php artisan db:seed
  7. docker/npm i
  8. docker/npm run dev
  9. docker-compose up -d

You can login to docker cli using the command docker exec -ti ls-www /bin/bash, (*5)

Note: Please make sure that you have proper permissions when setting up the project via docker., (*6)


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, (*7)

### Demo Credentials

Make sure you have run the command php artisan db:seed --class UserTableSeeder before you use these credentials., (*8)

User: admin@admin.com\ Password: 1234, (*9)

User: executive@executive.com\ Password: 1234, (*10)

User: user@user.com\ Password: 1234, (*11)

### 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
  • To generate scribe API documentation: php artisan scribe:generate
    • Documentation will be generated and placed in the public/docs directory

ScreenShots

Dashboard

Screenshot, (*12)

User Listing

Screenshot, (*13)

Log Viewer

Screenshot, (*14)

Issues

If you come across any issues please report them here., (*15)

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., (*16)

1. Alan Whitmore - alan.whitmore@ftxinfotech.com
2. Vicky Patel - ftx.vicky@gmail.com

The Versions