// the take
A session-backed (or pluggable-storage) shopping cart package for Laravel that handles line items, stackable price conditions (tax, shipping, discounts), and optional binding of cart rows to your own Eloquent models. Useful for teams rolling their own Laravel checkout flow who want cart math and storage handled for them, rather than for anyone already on a dedicated commerce platform.
The condition system is genuinely flexible: conditions can target subtotal or total, stack per-item and cart-wide, and have explicit ordering so you can sequence tax/shipping/discount math correctly. Storage is swappable behind a tiny has/get/put interface, so you can move from session to a DB table or cache-backed store without touching cart logic. Model association binds a cart row back to a real Eloquent model so you're not duplicating product data into the cart payload. Multiple cart instances (cart, wishlist, etc.) are a first-class pattern via separate service providers and session keys, not a hack.
Money math runs on PHP floats with percentage values passed as strings like '12.5%' that get parsed at calculation time — there's no decimal/money type, so rounding errors can compound once you chain several conditions. The README documents Laravel 5 through 9 by name with no mention of 10/11/12 support; given how old that version matrix looks, it's worth checking compatibility before adopting on a current Laravel app. The cart row 'id' field is overloaded: use a product's own ID there and it silently merges quantities instead of creating a separate line item — the docs explicitly warn about this, which signals a fragile default rather than a safe one. There's no concurrency control in the storage layer, so two requests updating the same session- or DB-bound cart can race and clobber each other's writes; none of the example storage drivers (DB, cache) address this either.
We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →