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

KenoKokoro's avatar

Spark and existing Laravel project

I found out some tips about integrating Spark into existing Laravel project, but I never find out if someone has actually done it, and how difficult is it? As I can see in Taylor's series about Spark, it has totally different folder so in my opinion it shouldn't be issue to just copy - paste the spark folder into existing project and just tweak service providers or whatever. But in contrary I see that in the Spark's FAQs that it clearly states that the Spark is not designed to be integrated into existing projects.

So, is it doable, how hard is it, and has anyone actually did it? Cheers.

0 likes
3 replies
ejdelmonico's avatar

The only way I think you can smoothly do it is to create a fresh Spark project and then copy over views and controllers, etc. Then you you can adapt them to Spark. Try not to modify the Spark code or you will have constant issues when upgrading to newer versions.

KenoKokoro's avatar

@ejdelmonico Yea, in theory I totally agree with you, in theory this all should be fine ( of course without touching the Spark code )

But my actual question was has actually anyone did it by now?

vbasky's avatar

I am running into the same situation, have ploughed deep into my existing Laravel Project and don't know what's in store if I have to copy over on a Spark application

Has anyone done it successfully and documented the steps to do it ?

Please or to participate in this conversation.