GithubHelp home page GithubHelp logo

nhtua / laravel-admin-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.88 MB

This project is a Laravel Admin Template, which has common features for all kind of project.

License: MIT License

PHP 9.30% JavaScript 75.53% ApacheConf 0.02% CSS 2.56% ActionScript 1.18% Shell 0.12% HTML 11.28%

laravel-admin-template's Introduction

This project is a Laravel Admin Template, which has common features for all kind of projects, help you (and help me) go fast to build admin page. When start new project, we just clone this repo and make it no pain again. Here is my intention, I hope some people will found and develop more common features.

Features

In version 1.0

  • Admin page with Gentelella UI
  • Authentication and authorization with Zizaco/Entrust
  • HTML Form template (I hate Laravel Collective)
  • Make thumb images from upload
  • Config manager
  • User manager
  • Role manager

Installation guide for dev

Requirements

  • PHP enviroment
    • PHP >= 5.5.9
    • OpenSSL PHP Extension
    • PDO PHP Extension
    • Mbstring PHP Extension
    • Tokenizer PHP Extension
  • Composer
  • Laravel 5.2

How to install?

You need to use composer and some commands to install:

git clone https://github.com/nhtua/laravel-admin-template.git your-project/
cd /your-project
composer install
cp .env.example .env
php artisan key:generate

Then do one of both step:

1. Fast-forward

Import /database/seeds/install-*.sql to you database.

2. Stupid-forward

Don't want to open MySQL Workbench or generate DB from the scratch, type:

php artisan migrate:refresh --seed

You may want to change default user's infomation before generate db, go edit ./src/database/seeds/UsersTableSeeder.php.

Config

You need edit the configuration file .env before the first run, change values of:

  • APP_ENV: local/production
  • APP_DEBUG: true/false. The false will hide all error messages
  • APP_NAME : The application's name
  • APP_URL : The application's domain
  • DB_HOST : 127.0.0.1 (default), your MySQL server's IP
  • DB_PORT : 3306 (default), your MySQL server's port
  • DB_DATABASE : the database name
  • DB_USERNAME : the user, who has privilege to access the DB_DATABASE
  • DB_PASSWORD : MySQL user's password
  • CACHE_DRIVE: (!IMPORTANT) if you don't use Redis or Memcached, please set the value as array. It is needed for Entrust's authentication.
  • IMAGE_SIZES : list of all sizes (width) of thumbnail image versions.

At last, you need to point the dev domain to /root/public in server configuration. Please follow the user manual of what kind of server you used.

Login to backend

  1. Go to http://your-domain.dev/dashboard
  2. Login by default account: [email protected] / 123456a@
  3. Enjoy your-self

Credits

  • Thank Gentelella for advanced Bootstrap Template
  • And others third-party package for Laravel

laravel-admin-template's People

Watchers

 avatar  avatar

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.