Sylius

On this page 7

Sylius is an open-source e-commerce framework written in PHP and built on the Symfony framework, designed for developers who need to build custom online stores rather than configure a fixed product. Among store platforms in e-commerce, it occupies the position of a developer-first toolkit: it supplies tested components for products, carts, orders, payments and promotions, while leaving the business logic and the user interface open to modification.

Released under the MIT license, Sylius is developed by a company of the same name together with a community of contributors. It is typically chosen by agencies and in-house engineering teams for mid-market and B2B projects where unusual pricing, workflows or integrations make template-driven platforms difficult to adapt.

How the Sylius architecture is organized

Sylius follows a component and bundle architecture inherited from Symfony. Low-level PHP components implement commerce models such as products, taxation and inventory without framework dependencies, Symfony bundles wire them into the application, and the core layer combines them into a complete store with an administration panel and a storefront.

Several mechanisms give Sylius its flexibility. Data is persisted through Doctrine ORM, so entities can be extended by ordinary class inheritance. Order, payment and shipment lifecycles are driven by state machines, which define allowed transitions such as new, paid, shipped or canceled. The resource layer generates standard create, read, update and delete operations from configuration, which shortens the work on custom entities.

Building blockFunctionPractical effect
ComponentsFramework-independent commerce modelsReusable logic for orders, pricing and taxes
BundlesSymfony integration of each domainConfiguration through services and dependency injection
State machinesControl order, payment and shipping statesCustom workflows without rewriting the core
Resource layerGeneric CRUD controllers and routingFaster development of new entities
API layerREST and GraphQL style endpoints via API PlatformSupport for headless storefronts
Twig templatesServer-rendered admin and shop viewsTheme overrides without forking code
Main building blocks of a Sylius application

Because the application is a normal Symfony project, developers apply familiar practices: service decoration, event listeners, automated testing and dependency management with Composer. This is the main reason Sylius appeals to teams that already work with the Symfony ecosystem.

Key capabilities and editions

Out of the box, Sylius provides the commerce features expected of a modern platform, with particular strength in multi-store and international setups. The central concept is the channel, which represents a sales context with its own currencies, locales, tax zones, prices and theme, so one installation can serve several countries or brands.

  • Product catalog with variants, options, attributes and taxonomies.
  • Promotions engine based on rules and actions, plus coupon codes and catalog promotions.
  • Multi-currency and multi-language storefronts tied to channels.
  • Payment and shipping methods configurable per channel and zone.
  • Customer accounts, address books and order history.

Sylius exists as a free community edition and a commercial offering, historically marketed as Sylius Plus, which adds features aimed at larger merchants. Version 2.0, released in late 2024, modernized the stack with newer Symfony and PHP requirements and a refreshed administration interface built with Symfony UX.

AspectCommunity editionCommercial edition
LicenseMIT open sourcePaid subscription
Core commerce featuresIncludedIncluded
Advanced B2B and inventoryThrough plugins or custom codeMulti-source inventory, returns and roles
SupportCommunity channels and partnersVendor support and maintenance terms
Typical buyerAgencies and technical teamsMid-market and enterprise merchants
Community and commercial editions compared

Sylius compared with other store platforms

Sylius is best understood against its neighbors: it trades ready-made convenience for architectural control. Hosted platforms launch faster, whereas framework-based platforms such as Sylius reward teams that can maintain code.

PlatformModelBest suited to
SyliusOpen-source Symfony frameworkCustom mid-market and B2B projects
MagentoOpen-source PHP platform with large ecosystemFeature-rich stores with extension marketplaces
ShopwareSymfony-based platform with commercial plansMerchants wanting rich admin features in PHP
ShopifyHosted software as a serviceFast launch with minimal engineering
SaleorOpen-source headless platform in PythonAPI-first projects using GraphQL
Position of Sylius among comparable platforms

Compared with Magento, Sylius has a smaller extension marketplace but a leaner, more conventional codebase. Compared with Shopware, which shares the Symfony foundation, Sylius exposes more of its internals as a framework and provides fewer turnkey merchant features. Against headless commerce specialists, Sylius can operate either as a full-stack store or as a back end serving a separate front end through its API.

When to choose Sylius and how projects are run

Sylius fits when the business model is unusual and the organization has access to PHP and Symfony expertise. It is less suitable for small merchants who want to manage a store without developers, because even routine changes such as new checkout steps typically require code.

SituationRecommendationReason
Complex B2B pricing or approvalsStrong candidateState machines and extensible models handle custom rules
Several brands or countries on one systemStrong candidateChannels separate currencies, locales and catalogs
Existing Symfony teamStrong candidateFamiliar tooling lowers onboarding cost
Small store without developersConsider hosted platformsMaintenance and hosting need technical staff
Need for many ready-made extensionsCompare marketplaces firstThe plugin ecosystem is smaller than larger rivals
Decision guide for adopting Sylius

A typical project starts from the standard edition skeleton, adds plugins for payment providers and search, overrides templates for the storefront, and extends entities for project-specific data. Teams usually rely on behavior-driven tests with Behat and unit tests, a practice that the Sylius core itself follows.

Limitations and common mistakes

The main limitation is the total cost of ownership. Sylius has no license fee in its community edition, but hosting, security patching, upgrades and development time are the merchant’s responsibility, and these costs can exceed the subscription price of a hosted platform.

  • Overriding core classes directly instead of using decoration makes major upgrades painful.
  • Underestimating version upgrades, such as moving from 1.x to 2.0, which may require template and API changes.
  • Choosing unmaintained plugins without checking compatibility with the installed version.
  • Skipping performance work, such as caching and search indexing, on large catalogs.

Understanding it simply

Sylius is a free set of building blocks for online shops. Think of it as a high-quality construction kit instead of a finished house. Developers get strong foundations for products, carts, payments and orders, then shape everything else to match how a business actually sells.

That freedom is the main benefit and also the main cost. A company can build almost any shopping process with it, but it needs skilled developers to set it up and keep it running. For a small shop that just wants to start selling tomorrow, a ready-made hosted service is usually simpler.

Applied in practice

A European distributor of industrial spare parts sells to about 3,000 business customers in five countries. Each customer has negotiated prices, some need purchase approval from a manager, and orders above a threshold must be confirmed by a sales representative. A hosted platform the company tested could not model these approval steps without workarounds.

An agency builds the new portal on Sylius. It configures five channels for the countries, each with its own currency and language, extends the customer entity with contract price lists, and adds an approval state to the order state machine. The storefront remains server-rendered with customized templates, while the API feeds the ERP system with confirmed orders.

Within the first year, most reorders move from email to the portal, and the sales team spends its time on new accounts instead of retyping orders. The trade-off is a permanent development budget for upgrades and maintenance.