Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cart Laravel Package

jackiedo/cart

jackiedo/cart is a flexible shopping cart package for Laravel with multiple cart instances, item attributes, conditions, taxes, fees, weight handling, and session persistence. It simplifies adding, updating, and removing items while calculating subtotals, totals, and other cart values.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. adopt: Use this package as a low-cost accelerator for commodity cart primitives instead of building session/user cart state from scratch. Reserve custom build for differentiated checkout, pricing, promotions, inventory, and scale requirements.
  • Feature validation: Supports rapid MVP tests for shopping carts, recently viewed items, and comparison lists without committing to a separate cart service.
  • Roadmap sequencing: Helps teams ship cart-like flows early, then revisit architecture after product-market fit or when transaction volume and business rules demand a dedicated commerce domain.
  • Reuse across use cases: The same cart abstraction can serve shopping, wishlists, recently viewed, and compare experiences, reducing duplicate state-management work.
  • Architecture decision: Adopt behind an internal CartService or adapter interface so package models and APIs do not leak into product code. This keeps replacement, forking, or migration options open.
  • Prioritization guardrail: Treat cart functionality as table stakes, not a differentiator. Use engineering time saved here for checkout, payments, fulfillment, personalization, and merchandising.

When to Consider This Package

Consider it when:

  • The product is a Laravel/PHP application and needs basic cart, recently viewed, or comparison-list behavior quickly.
  • The team is building an MVP, prototype, internal tool, or low-to-medium-traffic commerce flow where simple add/update/remove/clear and session/user cart persistence are sufficient.
  • Engineering can pin the version, wrap it behind an interface, add tests, and fork or patch if necessary.
  • The MIT license and self-hosted nature fit the organization’s procurement and security posture.
  • A short compatibility spike confirms supported Laravel/PHP versions and expected behavior.

Look elsewhere when:

  • The cart is part of a high-scale checkout, payments, tax, multi-currency, promotion, or inventory-reservation system.
  • The organization requires an actively maintained dependency with a security SLA, broad ecosystem adoption, or vendor support.
  • There are zero dependents and the last release was February 2023; treat this as a maintenance-risk signal, not an automatic rejection.
  • The stack is non-Laravel, headless-commerce-first, event-driven, multi-tenant, or requires real-time cart collaboration.
  • The team cannot own a fork, lacks test coverage around cart behavior, or would be unable to migrate away cleanly.

How to Pitch It (Stakeholders)

Executive summary: This is a low-cost, MIT-licensed Laravel package that can accelerate cart-like features—shopping carts, recently viewed items, and comparison lists—for MVPs and internal tools. It is a tactical accelerator, not a strategic commerce platform. The modest adoption signals—210 stars, zero dependents, and a last release in February 2023—mean we should not make it a critical-path dependency without mitigation.

Recommendation: Run a timeboxed technical spike, integrate behind an internal cart interface, pin the version, and add regression tests. Adopt it if it materially shortens MVP delivery and passes compatibility/security review; otherwise build a small internal cart module or use a more actively maintained alternative.

Engineering ask: Validate Laravel/PHP compatibility, review issue activity and test coverage, isolate the package behind an adapter, and document an exit/fork plan. Product ask: Use it to validate cart-adjacent demand quickly, but keep checkout, pricing, and scale-sensitive logic outside the package boundary.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console