Skip to content

Instantly share code, notes, and snippets.

@fagnersilva
Created October 23, 2016 22:16
Show Gist options
  • Save fagnersilva/7fd38311bebb8e6509294256a0aa7aac to your computer and use it in GitHub Desktop.
Save fagnersilva/7fd38311bebb8e6509294256a0aa7aac to your computer and use it in GitHub Desktop.
Integrando Laravel 5.3 + AdminLTE 3.0
1 - Instalando globalmente com Composer
$ composer global require "acacha/adminlte-laravel-installer=~3.0"
2 - Crie o projeto
$ laravel new laravel-with-admin-lte
$ cd laravel-with-admin-lte
3 - Crie o banco de dados e configure o .env
4 - Instale o AdminLTE
$ adminlte-laravel install
5 - Registre o Service Provider e o Alias em 'config/app.php'
5.1 - Service Provider
/*
* Acacha AdminLTE template provider
*/
Acacha\AdminLTETemplateLaravel\Providers\AdminLTETemplateServiceProvider::class,
5.2 - Alias
/*
* Acacha AdminLTE template alias
*/
'AdminLTE' => Acacha\AdminLTETemplateLaravel\Facades\AdminLTE::class,
6 - Publique os arquivos
$ php artisan vendor:publish --tag=adminlte --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment