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
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →