sylius/cart
Sylius Cart provides reusable PHP components for shopping cart functionality, including cart and cart item models, cart operations, item collection management, and integration points for pricing, promotions, and checkout in Sylius-based e-commerce applications.
sylius/cart is a domain-model component, not a turnkey cart. It gives you the shape of a cart (cart, cart line items, item units, quantity/state modeling) but not a cart experience. Its real product value is as a reference architecture when you are deciding whether to hand-roll cart logic or buy into an established commerce domain model.Consider reading it (not installing it) when:
sylius/sylius — see the caveat below.Look elsewhere — or stop — when:
composer require it as a live dependency for new work. It is archived. Archived means no bug fixes, no security patches, no PHP-version compatibility work, no maintenance of transitive constraints. A cart is on the payment path; unmaintained code on the payment path is an unacceptable risk position for a PM to sign off on.The correct move for most teams: evaluate the parent project (sylius/sylius), or evaluate a maintained commerce platform, and treat sylius/cart as documentation. If you conclude you want this domain model, pull it through the maintained monorepo, not this mirror.
For executives (one paragraph): This is a small, well-designed piece of ecommerce plumbing from a credible open-source commerce project — but the specific package is archived, meaning nobody is fixing bugs or security issues in it. We should not put it on the payment path of a revenue-generating product. It is genuinely useful as a reference for how to model a shopping cart, and as a cheap way to stress-test our build-vs-buy thinking before we commit engineering time. Recommendation: use it to inform the decision, not to make it; the real decision in front of us is "adopt Sylius as a platform" or "buy a maintained cart/checkout," and this package helps us frame that choice at near-zero cost.
For engineering (the operative summary):
sylius/sylius.sylius/sylius (maintained, documented, supported) rather than the split package — and only if the broader Sylius platform bet is one we want to make.How can I help you explore Laravel packages today?