Skip to content Skip to footer navigation
You are reading the docs for an old version of Statamic. Consider upgrading to Statamic 6.

environment

Outputs the current environment.

This will be the value of APP_ENV in your .env file. If you haven't set that, then it will output the default of production.

{{ environment }}
{{ $environment }}
production