dev-master
9999999-devAdminLte Template for Laravel
MIT
The Requires
- php >=7.0
- laravel/framework ^5.5
The Development Requires
AdminLte Template for Laravel
for Laravel, (*1)
WIP: Made by a Noob ... don't use it, (*2)
This package provides a simple way to generate a closed area for admins. Route, Middleware,, (*4)
Add these two lines to the composer.json file of your laravel installation to use the dev version of this package, (*5)
"minimum-stability": "dev", "prefer-stable" : true,
Require the package, (*6)
composer require ridrog/adminlte
Include the ServiceProvider, (*7)
to the providers array @ config/app.php, (*8)
'providers' => [ ... Ridrog\AdminLte\AdminLteServiceProvider::class, ... ],
Use the view, (*9)
adminlte::dashboard
or extend the adminlte master template, (*10)
@extends('adminlte::default') @section('content-header')Hello World
@endsection @section('content')Some Content here ... , (*11)
@endsection
Publish the Views, (*12)
php artisan vendor:publish --tag=adminlte-views
Publish the config
php artisan vendor:publish --tag=adminlte-config
, (*13)
And take a look, most should be clear.
Switch skins, hide/display various sections
...., (*14)
'meta', 'styles' and 'scripts', (*15)
'content' and 'content-header', (*16)
There is a command for creating your own view. That view will extend the default adminlte layout and it will also include all possible sections and stacks., (*17)
Options: - --basic Creates a basic view - --force Force overwriting, (*18)
php artisan make:view:adminlte path.to.nameoftheview
AdminLte Template for Laravel
MIT