ibrand/laravel-shopping-cart
A shopping cart package for Laravel with session and database storage, multiple cart instances, item conditions, quantity updates, and totals calculation. Designed to be simple to install, extend, and integrate into any Laravel storefront or e-commerce app.
Consider it when:
Look elsewhere when:
To executives: This is a small MIT-licensed cart component that could save roughly a few days of engineering on an early build. The caveat is material: it has not been released since 2018, has no downstream dependents, and has no maintainer committed to security fixes. My recommendation is to treat it as a code reference or a fork-and-own starting point, not as a dependency in any revenue-critical checkout path — unless engineering's compatibility spike comes back clean and we accept the maintenance burden internally.
To engineering: Narrow package, single responsibility: cart items, quantities, totals, persistence. First task is a half-day compatibility spike against our Laravel/PHP versions; assume a fork is required for modern frameworks. Decision rule to propose: if the fork-and-verify cost exceeds the two-to-three days needed to write a cart layer ourselves, we build it — but we copy the domain model (line item, quantity, price snapshot, total calculation) either way, because that modeling is the part worth reusing.
Bottom line: Low-cost experiment, high-maintenance artifact. Worth a timeboxed spike for a prototype; not worth adoption as-is for production commerce.
How can I help you explore Laravel packages today?