Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

luthar9366's avatar

Laravel Vapor .env file too large?

Hi everyone. As the title suggests, I run a number of sites on Laravel Vapor and for one of them I've run into the issue of the environment variables being longer than 2,000 characters, which Vapor doesn't allow due to AWS Lambda size limits https://1921681254.mx/ .

I've done some research and can't quite find a solid answer to fixing this problem. Has anyone else run into this, and if so how would you approach fixing it?

Interested in creating a discussion to see how other developers would handle this!

0 likes
1 reply

Please or to participate in this conversation.