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

cosminc's avatar

What arhitecture should I develop for a Laravel + VueJS web application?

Hello everybody! For quite a few months I'm struggling to start a new project, but until now I haven't had the necessary time to do it. Now that I finally have it, I want to pick your brain about what should be the best approach for developing the following Laravel + VueJS web application.

It's basically a SaaS, where I will have a front-end for the clients where they can create an account, pay a subscription, have a profile and do some work in their dashboard. Of course I will need an admin zone, a back-end where me as an administrator can manage the front-end content, view clients and their subscriptions and so on.

So my question is: how should I separate this units in order to achieve scalabillity, ease of maintenance and further development?

I was thinking about creating an API with Laravel and then have two VueJS standalone apps as consumers, one for the front-end (the website itself) and one for the back-end (the admin panel).

What do you guys think?

Thanks.

0 likes
6 replies
fylzero's avatar

@cosminc Using this project would be a hell of a starting place... integrate with Laravel Cashier using subscriptions and it shouldn't be that hard to get going...

Amazing Laravel/Vue/SPA Boilerplate Project

https://www.youtube.com/watch?v=_Oo_fPjeuX0

https://github.com/cretueusebiu/laravel-vue-spa

Cashier Docs

https://laravel.com/docs/6.x/billing

Stripe / Cashier subscriptions handles monthly recurring billing, just read up on it. It handles prorations, user incrementing, it is super powerful and simple to get going on it.

24 likes
connecteev's avatar

Highly recommend that you look into nuxt.js - it takes a lot of the pain you're dealing with away. I personally am using nuxt (which is a vue.js framework) with laravel as a backend and could not be happier.

fylzero's avatar

@connecteev I haven't really looked into Nuxt much myself. What would you say are its selling points? If you don't mind. Thanks!

24 likes
ismaile's avatar

Assuming that you have a clear business goal and don't want to waste time, what about paying for Laravel Spark ? It can save you a lot of time and there is a section in the documentation about api driven development: https://spark.laravel.com/docs/9.0/api#api-driven-applications

As for the admin part, what about Laravel Nova ? I don't use Nova but I guess you could target the same database and get going.

I know the options I suggest are not free but if you have the budget for it, this could save you a huge amount of time and you would get a clean and maintained code. Besides, I guess a lot could be learned looking at Spark and Nova code.

cosminc's avatar

Thank you for the recommendations so far. I'm not looking to invest in tools such as Spark or Nova because it's just an MVP that I'm building, but these are definitely worth it if the product gets some traction and paying customers.

fylzero's avatar

I would agree with @ismaile if you are just looking to get something off the ground quickly with the lowest learning curve / highest expense possible. I would build that out, then maybe consider down the road if adding Vue to the front end makes sense.

25 likes

Please or to participate in this conversation.