/adminlte-laravel

A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template with Bootstrap 3.0

Primary LanguageJavaScriptMIT LicenseMIT

#AdminLTE template Laravel 5 package A Laravel package that switch default Laravel scaffolding / boilerplate to AdminLTE template with Bootstrap 3.0

If you are looking for the Laravel 4 version, use 0.1.5 version/tag and see OLD-README.md

Total Downloads Latest Stable Version

#Requirements

Laravel 5.1 notes

By default Laravel 5.1 does not include default auth routes. Versions > 1.0 of this package add the necessary routes for you

See old README file file for notes of which routes are registered.

##Installation

First install Laravel (http://laravel.com/docs/5.0/installation) and then Create a new Laravel project:

 $ laravel new laravel-with-admin-lte
 $ cd laravel-with-admin-lte

Add admint-lte Laravel package with:

 $ composer require "acacha/admin-lte-template-laravel:1.*"

Register ServiceProvider editing config/app.php file and adding to providers array:

// AdminLTE template provider         
Acacha\AdminLTETemplateLaravel\app\Providers\AdminLTETemplateServiceProvider::class,

Note: use the following for Laravel <5.1 versions:

 // AdminLTE template provider
 'Acacha\AdminLTETemplateLaravel\app\Providers\AdminLTETemplateServiceProvider',

Publish files with:

 $ php artisan vendor:publish --force --provider="Acacha\AdminLTETemplateLaravel\app\Providers\AdminLTETemplateServiceProvider"

Use force to overwrite Laravel Scaffolding packages. That's all! Open the Laravel project in your browser or homestead machine and enjoy!

##First steps, database creation, migrations and login

Once package installed you have to follow the usual steps of any laravel project to Login to the admin interface:

  • Create a database. I recommend the use of laravel Homestead ()
  • Create .env file and configure database acces (database name, password, etc)
  • Run migrations with command $ php artisan migrate
  • Registera a first user and Login with it

##AdminLTE

AdminLTE is a Free Premium Admin control Panel Theme That Is Based On Bootstrap 3.x created by Abdullah Almsaeed. See:

https://github.com/almasaeed2010/AdminLTE

Roadmap

  • Implement Facebook, Google and maybe twitter and github Login with Socialite
  • Add email html templates

Documentation TODO

Packagist

https://packagist.org/packages/acacha/admin-lte-template-laravel

More info

http://acacha.org/mediawiki/AdminLTE#adminlte-laravel