2017 © Pedro Peláez
 

library config

Config extension for laravel-admin

image

laravel-admin-ext/config

Config extension for laravel-admin

  • Tuesday, April 24, 2018
  • by encore
  • Repository
  • 2 Watchers
  • 18 Stars
  • 11,779 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 17 Forks
  • 8 Open issues
  • 4 Versions
  • 38 % Grown

The README.md

Config manager for laravel-admin

StyleCI Packagist Total Downloads Pull request welcome, (*1)

Inspired by https://github.com/laravel-backpack/settings., (*2)

Documentation | 中文文档, (*3)

Screenshot

wx20170810-100226, (*4)

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:, (*5)

<?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:, (*6)

$ php artisan admin:import config

Open http://your-host/admin/config, (*7)

Usage

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

License

Licensed under The MIT License (MIT)., (*9)

The Versions

24/04 2018

dev-master

9999999-dev https://github.com/laravel-admin-extensions/config

Config extension for laravel-admin

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel-admin setting

24/04 2018

v1.0.1

1.0.1.0 https://github.com/laravel-admin-extensions/config

Config extension for laravel-admin

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel-admin setting

28/09 2017

dev-analysis-8Qd5jp

dev-analysis-8Qd5jp https://github.com/laravel-admin-extensions/config

Config extension for laravel-admin

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel-admin setting

10/08 2017

v1.0

1.0.0.0 https://github.com/laravel-admin-extensions/config

Config extension for laravel-admin

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel-admin setting