config/
directory and are simple .php
files that return an array
.config/app.php
:.env
file that Bedrock provides. We'd recommend following this pattern, where you should only see getenv
called in your config files.Rareloop\Lumberjack\Facades\Config
facade.set
method, like so:has
method only checks whether the config item exists, regardless of its value. app.mySetting
to an empty value such as false
or null
, has('app.mySetting')
will return true
..php
file in the config/
directory, and have it return an array.config/
directory that have a .php
extension and automatically registers all the data to the application's config.