Lumen and PHP-FPM: where should production configuration enter?
Assuming Lumen 5.8 deployed behind Nginx with PHP-FPM, the goal is to define one authoritative source for production configuration without masking values supplied by the hosting layer. Lumen supports loading a .env file during bootstrap, while PHP-FPM can also expose environment variables to worker processes. The integration boundary is not fully determined