treestoneit/shopping-cart
A flexible shopping cart package for Laravel with support for multiple cart instances, item conditions like tax and discounts, and session or database storage. Clean API for adding items, updating quantities, and calculating totals.
Architecture fit
Integration feasibility
composer require, publish config/migrations, choose a driver, register listeners. A mid-level Laravel developer can produce a working add/update/remove flow in a spike.Technical risk
unknown repo field means we cannot review source, test coverage, CI, or issue history before committing. This is the highest-priority due-diligence gap and should be closed before any production commitment.number_format rather than integer minor units, we inherit rounding drift between cart display, tax, and payment capture. This is a blocking question, not a nice-to-have.Key questions for the maintainer / spike
cart_id lookups?Stack fit
Migration path
CartService interface (addItem, updateQuantity, removeItem, getCart, mergeCarts) with the package as one implementation. This is the cheapest insurance policy in the whole plan — it caps the blast radius of the fork-and-own scenario to one class.Compatibility
id type, foreign keys) and check they are reversible.Sequencing
Maintenance
composer audit in CI. Do not float on ^ for a single-maintainer package carrying pricing logic.Support
Scaling
cart_id/user_id, batch quantity updates client-side with debounce, and consider Redis-backed sessions instead of DB rows for high-burst scenarios.Failure modes
Ramp-up
How can I help you explore Laravel packages today?