# Auto refresh config cache after .env update

**Project:** Sites | **Board:** Planned | **Votes:** 3
**URL:** https://roadmap.ploi.io/projects/2-site-level-requests/items/1235-auto-refresh-config-cache-after-env-update

---

After updating the .env file, `php artisan config:cache` should be automatically run to reflect the changes inside the code. Or at least a flag to choose if you want to do so after updating.

---

## Comments

**Mattia Trapani** (2026-06-11T08:17:15+00:00):
hi, any update on this?

