laravel-admin-ext/config 问题修复 & 功能扩展

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

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

laravel-admin-ext/config

最新稳定版本:v1.1

Composer 安装命令:

composer require laravel-admin-ext/config

包简介

Config extension for laravel-admin

README 文档

README

StyleCI Packagist Total Downloads Pull request welcome

Inspired by https://github.com/laravel-backpack/settings.

Documentation | 中文文档

Screenshot

wx20170810-100226

Installation

$ composer require laravel-admin-ext/config

$ php artisan migrate

Open app/Providers/AppServiceProvider.php, and call the Config::load() method within the boot method:

<?php

namespace App\Providers;

use Encore\Admin\Config\Config;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        $table = config('admin.extensions.config.table', 'admin_config');
        if (Schema::hasTable($table)) {
            Config::load();
        }
    }
}

Then run:

$ php artisan admin:import config

Open http://your-host/admin/config

Usage

After add config in the panel, use config($key) to get value you configured.

License

Licensed under The MIT License (MIT).

统计信息

  • 总下载量: 177.83k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 96
  • 点击次数: 2
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

  • Stars: 96
  • Watchers: 3
  • Forks: 56
  • 开发语言: PHP

其他信息

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