2017 © Pedro Peláez
 

package laravel-inspinia

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

image

atnic/laravel-inspinia

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

  • Wednesday, May 16, 2018
  • by GusZandy
  • Repository
  • 7 Watchers
  • 6 Stars
  • 629 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 15 Versions
  • 34 % Grown

The README.md

Origin Project, (*1)

This is only a demo!, (*2)

If you're only going to study these source code, be free to view them., (*3)

If you want to deploy or use it (especially on commercial), Please purchase $36 for it on {wrap}Bootstrap., (*4)

All rights are reserved by the owner of this project., (*5)

Laravel Inspinia

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

Installation

composer require atnic/laravel-inspinia

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

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

And then run,, (*8)

php artisan make:inspinia

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

php artisan serve

Viola! You've running a Laravel site using Inspinia., (*10)

For more information on command, (*11)

php artisan make:inspinia --help

Usage

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

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

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

@section('sidebar-menu')
<ul class="nav metismenu" id="side-menu" style="padding-left:0px;">
  <li class="active">
    <a href="{{ route('home') }}"><i class="fa fa-home"></i> <span class="nav-label">Home</span></a>
  </li>
</ul>
@endsection

To extends breadcrumbs add this, (*15)

@section('breadcrumbs')
@include('inspinia::layouts.main-panel.breadcrumbs', [
  'breadcrumbs' => [
    (object) [ 'title' => 'Home', 'url' => route('home') ]
  ]
])
@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., (*16)

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

@extends('layouts.app')

// Your blade here

Configuration and Views Customization

Config

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

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

Views

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

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

Next Step

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

Inspinia need some package on npm. First you need to run, (*21)

npm install

Install Inspinia needed package from npm, (*22)

npm install --save-dev animate.css bootstrap-sass bootstrap-datepicker clockpicker font-awesome icheck jquery-slimscroll metismenu moment pace-js select2 select2-bootstrap-theme toastr

Run Laravel Mix command, (*23)

npm run development

or use production minimize output, (*24)

npm run production

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

Happy experimenting!, (*26)

The Versions

16/05 2018

dev-develop

dev-develop

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

12/05 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

12/05 2018

v0.4.2

0.4.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

06/05 2018

v0.4.1

0.4.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

30/04 2018

v0.4.0

0.4.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

28/02 2018

v0.3.5

0.3.5.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

12/02 2018

v0.3.4

0.3.4.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

03/02 2018

v0.3.3

0.3.3.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

30/01 2018

v0.3.2

0.3.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

24/01 2018

v0.3.1

0.3.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

22/01 2018

v0.3.0

0.3.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

05/01 2018

v0.2.2

0.2.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

03/01 2018

v0.2.0

0.2.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

03/01 2018

v0.2.1

0.2.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package

23/12 2017

v0.1.0

0.1.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel composer inspinia package