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 block | Function | Practical effect |
|---|---|---|
| Components | Framework-independent commerce models | Reusable logic for orders, pricing and taxes |
| Bundles | Symfony integration of each domain | Configuration through services and dependency injection |
| State machines | Control order, payment and shipping states | Custom workflows without rewriting the core |
| Resource layer | Generic CRUD controllers and routing | Faster development of new entities |
| API layer | REST and GraphQL style endpoints via API Platform | Support for headless storefronts |
| Twig templates | Server-rendered admin and shop views | Theme overrides without forking code |
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.
| Aspect | Community edition | Commercial edition |
|---|---|---|
| License | MIT open source | Paid subscription |
| Core commerce features | Included | Included |
| Advanced B2B and inventory | Through plugins or custom code | Multi-source inventory, returns and roles |
| Support | Community channels and partners | Vendor support and maintenance terms |
| Typical buyer | Agencies and technical teams | Mid-market and enterprise merchants |
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.
| Platform | Model | Best suited to |
|---|---|---|
| Sylius | Open-source Symfony framework | Custom mid-market and B2B projects |
| Magento | Open-source PHP platform with large ecosystem | Feature-rich stores with extension marketplaces |
| Shopware | Symfony-based platform with commercial plans | Merchants wanting rich admin features in PHP |
| Shopify | Hosted software as a service | Fast launch with minimal engineering |
| Saleor | Open-source headless platform in Python | API-first projects using GraphQL |
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.
| Situation | Recommendation | Reason |
|---|---|---|
| Complex B2B pricing or approvals | Strong candidate | State machines and extensible models handle custom rules |
| Several brands or countries on one system | Strong candidate | Channels separate currencies, locales and catalogs |
| Existing Symfony team | Strong candidate | Familiar tooling lowers onboarding cost |
| Small store without developers | Consider hosted platforms | Maintenance and hosting need technical staff |
| Need for many ready-made extensions | Compare marketplaces first | The plugin ecosystem is smaller than larger rivals |
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.