leaphly/cart-bundle
Leaphly Cart Bundle is a Symfony bundle that adds reusable shopping cart functionality to PHP applications. It includes cart and line-item models, a cart manager, Doctrine persistence, and extension points for custom products, pricing, and checkout integration.
HttpKernel, and likely hard Composer conflicts.composer why-not probe in a scratch branch; confirm PHP and Symfony constraints; audit Doctrine and transitive dependencies; check license; review tests/CI; and confirm whether any maintained fork exists. If the package pins PHP 5.x/Symfony 2-era constraints, close the direct-adoption path immediately.To executives: The cart is commodity infrastructure: invisible when it works, revenue-damaging when it fails. This package is a well-shaped but unmaintained Symfony-era blueprint — 101 stars, no dependent projects, and no realistic Laravel adoption path. I do not recommend it as a production dependency. I recommend a 1–2 day evaluation of its domain model to de-risk our cart design and sharpen the build-vs-buy comparison against a hosted or maintained commerce provider. Expected cost: a few engineering days. Expected value: fewer late-stage cart edge cases and a clearer decision before we commit headcount.
To engineering: Treat this as documentation. Read it for the separation of cart mechanics from pricing policy, the item-level event model, guarded cart states, and pluggable storage/pricing resolvers. Do not attempt to boot a Symfony 2 bundle inside Laravel; a compatibility shim would mean two containers, two event systems, and unclear transaction boundaries. If we proceed, the deliverable is a Laravel-native cart design — Eloquent models, explicit state transitions, calculator pipeline, domain events, API resources, optimistic locking — not a port of the bundle. First step is a two-hour Composer feasibility probe, then a short extraction spike. Default recommendation: build a thin, tested cart on our own stack or integrate a maintained commercial provider if commerce is core to the roadmap.
How can I help you explore Laravel packages today?