Laravel 13 · Testing and cache
Cache configuration for deployment
Combine configuration files into a cached file for production.
php artisan config:cache
Caution: After caching configuration, access environment values through config files rather than calling env() elsewhere.
Official Laravel 13 documentation