Skip to content

Environment

Intro

The app can have various environment flags. The main environments are:

  • Local
  • QA (internal testing)
  • Staging (external testing)
  • Production

The environment can be set in the .env file using the APP_ENV attribute.

Environment flags

In order to avoid confusion between environments, environment flags are shown on the non-production environments.

  • On the front-end this is handled with a condition in the app.blade.php file.
  • In Filament panels this is managed by the environment indicator package