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

robdesilets's avatar

Lumen Deployment

Hi,

For Laravel there are artisan commands that are run at deployment to cache configs, etc:

https://laravel.com/docs/8.x/deployment

I am wondering if there is the same (or equivalent) for Lumen? I am using for one of our projects and just want to make sure I don't miss anything in deployment.

Possibly Lumen, by design, does not need these features as it's blazing fast out of the box.

Just wanted to check..

Thanks!

-Rob

0 likes
1 reply
bobbybouwmann's avatar

Laravel Lumen doesn't support most of the artisans commands you get with Laravel. The idea of Lumen is to stay as small as possible. Only really useful for an API that handles a lot of data.

So you can't cache the config and so on during deployments. You are able to clear the cache using php artisan cache:clear. You should definitely call this during your deployment.

1 like

Please or to participate in this conversation.