@jeffreyway Another “new user, first post stolen from Reddit” spammer.
Link: https://www.reddit.com/r/laravel/comments/13kj3kz/laravel_vapor_env_file_too_large/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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!
Please or to participate in this conversation.