ahyadessam/laravel-adminlte 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ahyadessam/laravel-adminlte

Composer 安装命令:

composer require ahyadessam/laravel-adminlte

包简介

AdminLTE template for Laravel

README 文档

README

Simple and easy to use Admin LTE template for laravel

1- Installation

  1. Require the package using composer:

    composer require ahyadessam/laravel-adminlte
    
  2. Add the service provider to the providers in config/app.php:

    ahyadessam\AdminLTE\AdminLTEServiceProvider::class,
  3. Publish the public assets:

    php artisan vendor:publish --provider="ahyadessam\AdminLTE\AdminLTEServiceProvider"
    

2- Usage

Easy to use and you will find folder adminlte_temp in views folder it's contain examples for use just create a blade it's extends layout @extends('adminlte_layout.admin_lte')

You can use the following sections (all is optional) :

  • page_title : page title
  • css-files : add css files to header
  • js-files : add javascript files
  • content-header : head of content such as H1 and breadcrumb
  • content : for page contents
  • javascript : to add javascript code in the footer

Sample example for a blade template (all is optional)

@extends('adminlte_layout.admin_lte')

@section('page_title')
dashboard
@endsection

@section('css-files')
<link rel="stylesheet" href="file.css">
@endsection

@section('js-files')
<script src="file.js"></script>
@endsection

@section('content-header')
<h1>
  Dashboard
  <small>Control panel</small>
</h1>
<ol class="breadcrumb">
  <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  <li class="active">Dashboard</li>
</ol>
@endsection

@section('content')
<div>i'm in dashboard</div>
@endsection

@section('javascript')
<script>
alert('test');
</script>
@endsection

3- Menu

You will find menu array in config/admin_lte.php, you can custom it as you link.

I have a simple system for administrators and groups permissions (mini_system)

  • This is a simple system you can used it to manage your admins and permissions
  • It's contain administrators and groups modules
  • you will find it in this link : mini_system and it included in your files on the path vendor/ahyadessam/laravel-adminlte/mini_system

Contact

for any question you can contact with me on twitter @AhyadEssam, thanks

统计信息

  • 总下载量: 110
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Rich Text Format

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固