2017 © Pedro Peláez
 

package laravel-adminlte

AdminLTE template applied to Laravel Scaffolding

image

urameshibr/laravel-adminlte

AdminLTE template applied to Laravel Scaffolding

  • Friday, October 14, 2016
  • by LucasRodriguesBR
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Alternative AdminLTE template Laravel package

A Laravel package that switch default Laravel scaffolding/boilerplate to AdminLTE template, (*1)

Total Downloads Latest Stable Version, (*2)

Requirements

Laravel 5.1 notes

By default this version of Laravel does not include default auth routes. See:, (*3)

http://laravel.com/docs/5.1/authentication, (*4)

You will have to add this lines at your routes.php file:, (*5)

// Authentication routes...
Route::get('auth/login', 'Auth\AuthController@getLogin');
Route::post('auth/login', 'Auth\AuthController@postLogin');
Route::get('auth/logout', 'Auth\AuthController@getLogout');

// Registration routes...
Route::get('auth/register', 'Auth\AuthController@getRegister');
Route::post('auth/register', 'Auth\AuthController@postRegister');

// Password reset link request routes...
Route::get('password/email', 'Auth\PasswordController@getEmail');
Route::post('password/email', 'Auth\PasswordController@postEmail');

// Password reset routes...
Route::get('password/reset/{token}', 'Auth\PasswordController@getReset');
Route::post('password/reset', 'Auth\PasswordController@postReset');

or:, (*6)

Route::controllers([
    'auth' => 'Auth\AuthController',
    'password' => 'Auth\PasswordController',
]);

and route to /home, (*7)

Route::get('/home', ['middleware' => 'auth', function () {
    return view('home');
}]);

Also be aware of using new style (endig with ::class) when adding AdminLTETemplateServiceProvider to config/app.php file:, (*8)

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

Installation

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

Add admint-lte Laravel package with:, (*10)

 $ composer require urameshibr/laravel-adminlte:"1.0.0"

Register ServiceProvider editing config/app.php file and adding to providers array:, (*11)

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

Publish files with:, (*12)

 $ php artisan vendor:publish --force --provider="Urameshibr\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!, (*13)

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

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

https://github.com/almasaeed2010/AdminLTE, (*16)

Roadmap

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

Documentation TODO

  • Gulp file provided to compile Boostrap and AdminLTE less files
  • Partial views (html header, content header, footer, etc.) to easily reuse code
  • Add breadcrumps with: https://github.com/davejamesmiller/laravel-breadcrumbs

Packagist

https://packagist.org/packages/acacha/admin-lte-template-laravel, (*17)

More info

http://acacha.org/mediawiki/AdminLTE#adminlte-laravel, (*18)

The Versions

14/10 2016

dev-master

9999999-dev

AdminLTE template applied to Laravel Scaffolding

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel template bootstrap theme admin administrator adminlte admin-lte

06/10 2016

1.0.0

1.0.0.0

AdminLTE template applied to Laravel Scaffolding

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel template bootstrap theme admin administrator adminlte admin-lte