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

KeyDescriptionExample
APP_CHANNELMajor docs/runtime channel3.x
APP_URLCanonical application URLhttps://app.example.com
CACHE_STORECache driverredis
QUEUE_CONNECTIONAsync jobsredis
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