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

AffData's avatar

Which stack should I use in my SaaS project?

Hey.

I'm new to Laravel and trying to understand what would be the best stack to use with my project.

This is a small SaaS project with a Vue SPA frontend and Laravel on the backend. Obviously, it needs auth, billing, teams, and crud,

  1. Spark looks like a good starting point, but will it work well with Vue SPA?
  2. Will it be hard to integrate Spark with a template I bought for this project (Vuexy - Vuejs, React, HTML & Laravel Admin Dashboard Template)?
  3. What about Passport + Cashier? Would you use these instead of Spark and if yes, in which cases?
  4. I consider using Vapor instead of hosting on Digital Ocean. Are there any bold cons or pros to using one over another?

I'm not trying to re-invent the wheel and looking for the "easiest" solution to kick-off this SaaS project.

Any advice is highly appreciated. Thanks in advance!

0 likes
2 replies
martinbean's avatar

@affdata The “easiest” solution is to stick with what you know. You’re asking about Spark, a third-party template, and Vapor. That’s a steep learning curve.

I’d also question the use of a Vue SPA. Will your application actually benefit from an SPA over a “traditional” server-rendered application?

Spark is a fine starting point for SaaS applications as that’s what it was built for. It has it’s own Vue-based control panel for managing teams and subscriptions, but you’ll need to build the actual logic and screens for your application. It’s impossible to tell how well a third-party template will slot into this.

Personally, I wouldn’t use Passport and Cashier if all I was going to do is re-build what Spark already does.

AffData's avatar

Got it.

I have mainly decided to go with Vue SPA because I also want to learn about the whole concept in the process of making this project. SPA applications are something that attracted me for a long time but I didn't have time to dig in.

What are the parameters I should look on when trying to understand whether my project is going to benefit from a SPA?

Please or to participate in this conversation.