How can i read the config files from laravel? For example for the database connection (app/config/database/.php)
I want the mysql data from the config.
For a package you do it like that:
return Config::get('package::group.option');
But how to do it for the main files?
I do Config::get('database.default')
for example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With