Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

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