Environment detection comes from LARAVEL_ENV environment variable (local, production); defaults to local.