How to Get Config File Value in Laravel?

By Hardik Savani September 5, 2020 Category : Laravel

Whenever you need to get configuration files value then you can get using config helper in Laravel 5. If you are working on Laravel 4 then you should use Config facade for get and set value of config file. Maybe sometimes we require to get application url from app.php file or database name from database.php file so you can get this way:





We are Recommending you