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

ostepan's avatar

Vercel and Lumen

Hi, i would like to run Lumen o Vercel. I use this tutorial: https://calebporzio.com/easy-free-serverless-laravel-with-vercel and if i just return app version everything works, but if i use views i get error with file_put_contents because Lumen want create view cache files but he cant. Is there any solution how to allow cache view files or disable cache views? Thanks

0 likes
5 replies
neilstee's avatar

or php artisan config:cache if you want your config to be cache

ostepan's avatar

But in vercel is there no way to run commands i think.

ostepan's avatar

in lumen i have in bootstrap folder only app.php file :/

Please or to participate in this conversation.