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

Mike-e's avatar

[Spark-Lumen] Compatibility

Hi,

Does Spark is compatible with Lumen ?

I would like to use it with the SOA architecture.

Regards.

0 likes
4 replies
michaeldyrynda's avatar

Compatible in what way? I wouldn't have thought you could install Spark into a Lumen app, given that Spark has a fairly opinionated frontend and Lumen is designed for building APIs.

2 likes
jekinney's avatar

No. Spark installs Laravel then spark. Spark requires auth and middlewares among others that lumen doesn't ship with.

Plus I think it's beyond the intended use of lumen. Could you make it work? Yes, but at the end of the day you'll have 95% of Laravel installed and a huge amount of time wasted.

bashy's avatar

Yeah could definitely be setup some way. Make an API on the Lumen side and just send details to that from Spark.

Please or to participate in this conversation.