linnella/config

Config extension for admin

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/linnella/config

v1.0 2018-06-25 22:14 UTC

This package is not auto-updated.

Last update: 2025-09-28 10:21:42 UTC


README

Installation

$ composer require linnella/config:dev-master

$ php artisan migrate

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

<?php

namespace App\Providers;

use Core\Admin\Config\Config;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        Config::load();
    }
}

Then run:

$ php artisan admin:import config

Open http://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).