2017 © Pedro Peláez
 

package laravel-admin-lte

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

image

atnic/laravel-admin-lte

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  • Wednesday, May 23, 2018
  • by frdteknikelektro
  • Repository
  • 4 Watchers
  • 15 Stars
  • 1,242 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 10 Versions
  • 34 % Grown

The README.md

Laravel AdminLTE

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads, (*1)

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly. Currently this package can be integrated easily only on fresh installation., (*2)

Installation

composer require atnic/laravel-admin-lte

If you are using Laravel 5.5 above skip this step, but if aren't then add this line on config/app.php, on providers, (*3)

'providers' => [
  ...
  Atnic\AdminLTE\Providers\AppServiceProvider::class,
  ...
]

And then run,, (*4)

php artisan make:admin-lte

Let's see what we've install. First, make sure that you already ran php artisan migrate command, then do, (*5)

php artisan serve

Viola! You've running a Laravel site using AdminLTE., (*6)

For more information on command, (*7)

php artisan make:admin-lte --help

Usage

This package provides view for auth and app. Take a look at resources/views/layouts/app.blade.php., (*8)

In this file you can extends global section like user name, avatar, breadcrumbs, and menu., (*9)

To extends menu add this in app.blade.php, (*10)

@section('sidebar-menu')
<ul class="sidebar-menu">
  <li class="header">MAIN NAVIGATOR</li>
  <li class="active">
    <a href="{{ route('home') }}">
      <i class="fa fa-home"></i>
      <span>Home</span>
    </a>
  </li>
</ul>
@endsection

To extends breadcrumbs add this, (*11)

@section('breadcrumbs')
<ol class="breadcrumb">
  <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  <li class="active">Title</li>
</ol>
@endsection

This package give you free of choice to use any Laravel Package for Menu and Breadcrumb. We recommend spatie/laravel-menu or lavary/laravel-menu, and davejamesmiller/laravel-breadcrumbs., (*12)

Any new created page should extends this view., (*13)

@extends('layouts.app')

// Your blade here

Configuration and Views Customization

Config

To publish this package config to your app config run, (*14)

php artisan vendor:publish --provider="Atnic\AdminLTE\Providers\AppServiceProvider" --tag="config"

Views

To publish this package views so you can customize on your own run, (*15)

php artisan vendor:publish --provider="Atnic\AdminLTE\Providers\AppServiceProvider" --tag="views"

Next Step

First of all, you should understand how to use Laravel Mix., (*16)

Make sure package.json has "laravel-mix": "^2.0"., (*17)

AdminLTE need some package on npm. First you need to run, (*18)

npm install

Install AdminLTE needed package from npm, (*19)

npm install --save-dev admin-lte@^2.4 bootstrap-sass fastclick font-awesome icheck ionicons jquery jquery-slimscroll

Run Laravel Mix command, (*20)

npm run development

or use production minimize output, (*21)

npm run production

Then have a good look on these files - webpack.mix.js - resources/assets/js/admin-lte.js - resources/assets/js/auth.js - resources/assets/sass/admin-lte.scss - resources/assets/sass/auth.scss, (*22)

Happy experimenting!, (*23)

The Versions

23/05 2018

dev-develop

dev-develop

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

23/05 2018

dev-master

9999999-dev

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

23/05 2018

v0.5.1

0.5.1.0

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

14/05 2018

v0.5.0

0.5.0.0

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

22/01 2018

v0.4.1

0.4.1.0

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

21/01 2018

v0.4.0

0.4.0.0

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

08/12 2017

v0.3.0

0.3.0.0

Laravel Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

25/09 2017

v0.2.1

0.2.1.0

Laravel 5.4 Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

21/09 2017

v0.2.0

0.2.0.0

Laravel 5.4 Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package

18/09 2017

v0.1.0

0.1.0.0

Laravel 5.4 Package for integrating AdminLTE template and this package is Laravel Mix friendly.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer adminlte admin-lte package