ken/spider-admin
Composer 安装命令:
composer require ken/spider-admin
包简介
make AdminLTE for laravel 5.3
README 文档
README
#Spider-AdminLTE for laravel 5.3.*
About Spider-AdminLTE
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!
ken/spider-admin 适用场景与选型建议
ken/spider-admin 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 78 次下载、GitHub Stars 达 2, 最近一次更新时间为 2016 年 11 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ken/spider-admin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ken/spider-admin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 78
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-29