Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

config

Statamic (and Laravel) have many config files in the config directory. Each file/directory is the 'key' to retrieve its data.

For example, if you want to check whether the Control Panel is enabled, you could use:

{{ config:statamic:cp:enabled }}
{{ config('statamic.cp.enabled') }}

To retrieve from the config/app.php you would:

{{ config:app:variable_you_want }}
{{ config('statamic.app.variable_you_want') }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →