kphcdr/kconf

There is no license information available for the latest version (v1.0.1) of this package.

v1.0.1 2023-06-25 10:35 UTC

This package is auto-updated.

Last update: 2024-02-11 11:57:00 UTC


README

        //store config
        $r = (new Kconf(\Illuminate\Support\Facades\Cache::repository(\Illuminate\Support\Facades\Cache::getStore()), config("app.name"), $this->app->environment(), 1234))->setNeedCache($this->app->environment("production"))->try();
        if ($c = Arr::get($r, 'data.config')) {
            config([
                "kconf"=>$c
            ]);
        }