ken/spider-admin

make AdminLTE for laravel 5.3

Installs: 77

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 4

Open Issues: 0

Language:JavaScript

1.0.2 2016-12-28 16:38 UTC

This package is auto-updated.

Last update: 2022-01-09 03:59:19 UTC


README

#Spider-AdminLTE for laravel 5.3.* a.png

About Spider-AdminLTE

diaddemi

Spider-AdminLTE is packages for build dashboard admin make AdminLTE 2 | Dashboard - Almsaeed Studio, just install this packages you get dashboard admin AdminLTE 2 | Dashboard - Almsaeed Studio, SweetAlert2, animate.css
Thanks to :
AdminLTE 2 | Dashboard - Almsaeed Studio
SweetAlert2
animate.css

Installations

Using Composer

composer require ken/spider-admin

Add the service provider to config/app.php

'providers' => [
    Ken\SpiderAdmin\SpiderAdminServiceProvider::class,
    Collective\Html\HtmlServiceProvider::class, // laravelcollective/html class
    Intervention\Image\ImageServiceProvider::class, // intervention/image class
]

'aliases' => [
    'Form' => Collective\Html\FormFacade::class,
    'Html' => Collective\Html\HtmlFacade::class,
    'Image' => Intervention\Image\Facades\Image::class,
]

and running

php artisan vendor:publish
php artisan migrate
composer dump-autoload
php artisan db:seed --class=SpiderSeeder

Setting Models Authenticate

open file in config/auth.php edit file

'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => App\User::class,
        ],

        // 'users' => [
        //     'driver' => 'database',
        //     'table' => 'users',
        // ],
    ],

to be

'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => App\Models\User::class,
        ],

        // 'users' => [
        //     'driver' => 'database',
        //     'table' => 'users',
        // ],
    ],

Setting Kernel

place this code in to App\Http\Kernel.php

protected $routeMiddleware = [
        'spider' => \Ken\SpiderAdmin\App\Http\Middleware\SpiderToRedirect::class,
    ];

Usage

You can custom views/vendor/spider/partials/customize/sidebar-menu.blade.php for managemen menu App.
You can custom views/vendor/spider/partials/customize/dropdown.blade.php for notifications

If you create new blade, you must extends yours file like

@extends('spider::layouts.apps')

@section('content')
    // yours content in here
@endsection

You can also create new file Javascript and CSS,

@section('css')
    // yours css in here 
@endsection

@section('script')
    // yours script in here 
@endsection

You can also create new Route in Routes/web.php and its no problem. but, you must create route prefix like

<?php 

Route::group(['prefix' => 'spider'] , function() {
   // yours route in here
});

if you not change route prefix yours App, or like

<?php 

Route::group(['prefix' => config('spider.config.route_prefix')] , function() {
   // yours route in here
});

if you change route prefix yours App.

You can customize config/spider/config.php for identity yours app and yours route prefix

<?php

return [
    'title_name'            => 'Spider-AdminLTE',
    'title_name_login'      => 'Spider-AdminLTE',
    'route_prefix'          => 'spider',
    'application_name_mini' => '<b><i>-d</i></b>',
    'application_name'      => '<b>Spider</b><i>-AdminLTE</i>',
    'developer_web'         => 'https://www.diaddemi.web.id',
    'developer_name'        => 'Wahyu Dhira Ashandy'
];

Basic

Route Basic

localhost:8000/spider

Auth Basic

Basic Credentials this App is fields name or fields email from table users

username : spider `or` spider@diaddemi.web.id
password : spider 

Issues and contribution

Just submit an issue or pull request through GitHub. Thanks!