Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, 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 →