Sylius or sonata or custom to subscribe

We are going to build something like cratejoy.com, but we do not want to spend a lot of time on the creation that was already created earlier for the developers.

I went through sonata and silyus, but I'm not sure if we can build a model based on a subscription with one of them. If so, we can, which is better to use? or should we just build a complete custom solution because it includes a b2b solution.

What will we build?

Mostly e-commerce software, such as any os-commerce trading system, but the only difference is that we will add a subscription to each product.

So, say, if you order a product, we will send it to you every month at your door step.

but we build it as a service, so many people can simply create their website and start using our tools to start selling products there.

+7
symfony subscription multisite sonata sylius
source share
1 answer

Perhaps I am a little inclined towards Silius, since I constantly work with him - I tried to use Sonata packages in projects earlier, but I could not use them.

The reasons for using Sylius are that it is highly decoupled and customizable, which is exactly what you want if you need an e-commerce solution that is not the usual β€œadd to cart, pay for it once” model.

There are two approaches that you can use to use Sylius: either use the full stack application, or configure it, which is the most common approach and is better supported. Another approach is to install Sylius as a library, not an application, and create the application and use it yourself, using Sylius classes and services when you need (which I do).

When using Sylius, you need to be careful, as it is still in beta, with breaking changes between releases. In addition, the documentation is very incomplete or outdated (which I plan to improve), with the exception of Resource and ResourceBundle - these packages are the most important part of Sylius and therefore are very well documented. For your project, I recommend the first option.

To subscribe to areas of Sylius that you want to look at customization and extension, OrderBundle , PricingBundle and PaymentBundle . If you are familiar with Symfony, this should be easy.

+6
source share

All Articles