Package Data | |
---|---|
Maintainer Username: | kenhyuwa |
Maintainer Contact: | wahyu.dhiraashandy8@gmail.com (ken) |
Package Create Date: | 2016-11-29 |
Package Last Update: | 2017-02-22 |
Language: | JavaScript |
License: | MIT |
Last Refreshed: | 2025-02-06 15:10:34 |
Package Statistics | |
---|---|
Total Downloads: | 77 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 4 |
Total Open Issues: | 0 |
#Spider-AdminLTE for laravel 5.3.*
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
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
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',
// ],
],
place this code in to App\Http\Kernel.php
protected $routeMiddleware = [
'spider' => \Ken\SpiderAdmin\App\Http\Middleware\SpiderToRedirect::class,
];
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'
];
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
Just submit an issue or pull request through GitHub. Thanks!