Giter VIP home page Giter VIP logo

laravel-adminpanel's Introduction

Laravel Admin Panel (Current: Laravel 7.*)

StyleCI GitHub contributors GitHub stars

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!

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
  8. Run npm i (Recommended node version >= V10.0)
  9. Run npm run dev or npm 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


  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

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

ScreenShots

Dashboard

Screenshot

User Listing

Screenshot

Log Viewer

Screenshot

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.