Hi all, My question is about laravel configuration file. I am using Laravel 5.4 framework. I created translations.php under the config folder.
I put into that file these contents.
‘text’ => ‘someurl’,
‘nb’ => ‘someurl’
And i want to access it inside controller using config(‘translations.text’); but it returns null.