Configuration
Environment variables, cached config, and channel pinning.
Configuration is environment-aware. Values load from
.env, then from cached config files in production.Essential keys
| Key | Description | Example |
|---|---|---|
| APP_CHANNEL | Major docs/runtime channel | 3.x |
| APP_URL | Canonical application URL | https://app.example.com |
| CACHE_STORE | Cache driver | redis |
| QUEUE_CONNECTION | Async jobs | redis |
phpconfig/atlas.php
return [
'channel' => env('APP_CHANNEL', '3.x'),
'timezone' => env('APP_TIMEZONE', 'UTC'),
];Warning
After changing config, run php atlas config:cache in production or changes will not apply.
Secrets and environments
Local overrides belong in .env. Never commit production secrets. Staging should use a separate APP_KEY so cookies cannot cross environments.
Updated Aug 5, 2026
