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

SomyNopatri's avatar

Does soft deletes works on lumen framework?

I just wanted to know soft deletes on laravel is also works with lumen framework?

what are the limitations https://chatspin.download of lumen framework compared to laravel?

we are going to start a project https://echat.date with micro-services concept and considering about lumen framework.

0 likes
2 replies
tykus's avatar

Yes, all of Eloquent is available once enabled.

If you would like to use the Eloquent ORM, you should uncomment the $app->withEloquent() call in your bootstrap/app.php file.

https://lumen.laravel.com/docs/9.x/database

However, I woudn't start any new work with Lumen

Note: In the years since releasing Lumen, PHP has made a variety of wonderful performance improvements. For this reason, along with the availability of Laravel Octane, we no longer recommend that you begin new projects with Lumen. Instead, we recommend always beginning new projects with Laravel.

https://lumen.laravel.com/docs/9.x

vybeauregard's avatar

Soft deletes should work just as they do in Laravel.

Lumen is a bare-bones framework made up entirely of Laravel components. If Laravel has a component that you need in your Lumen project, you can add it.

The main difference I encountered when working with Lumen is the lack of Blade support, which makes complete sense for a microservice.

Please or to participate in this conversation.