laravel-admin-extensions / config

Config manager for laravel-admin
http://laravel-admin.org/
MIT License
96 stars 57 forks source link

null return on config($key) #8

Open samfrm opened 6 years ago

samfrm commented 6 years ago

It always returns null on every key defined in config

zanemmm commented 6 years ago

@samfrm

if your laravel version < 5.5

in config/app.php

    'providers' => [
        //......
        Encore\Admin\Config\ConfigServiceProvider::class //add this line
    ],

if using laravel 5.5, because of the new feature Laravel Package Auto-Discovery. I don't know why :sob:

samfrm commented 6 years ago

@zanemmm I'm using Laravel 5.5. I've searched for it but couldn't find what is the reason. So sad :(