Skip to content Skip to footer navigation

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