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

leaphly/cart

Leaphly Cart is a PHP shopping cart component for e-commerce applications, offering cart and item models, quantity and pricing logic, extensible storage, and customizable cart workflows. It integrates with Symfony and helps developers build flexible cart features.

Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for cart/checkout: This package is a data point against "buy" in the cart domain. It demonstrates the full lifecycle risk of small, single-maintainer commerce libraries — useful evidence when justifying an in-house cart/checkout module or a paid, actively maintained commerce platform instead.
  • Roadmap and tech-debt triage: If any current or inherited system references leaphly/cart, this assessment should generate a migration epic. Last release 2013-11-23 and an explicit DEPRECATED marker mean every sprint it stays is accumulating compounding risk with zero upstream support.
  • Scope definition for a cart MVP: The library's domain surface — line items, quantities, pricing aggregation — is a reasonable checklist for the minimum viable cart model, but it deliberately excludes tax, promotions, multi-currency, inventory reservation, and checkout state machines. Use it to scope what the team must build beyond a naive cart, not as evidence those concerns are optional.
  • Architecture reference, not adoption: Reading a small, pure-PHP cart implementation is a low-cost way to align engineering on domain boundaries (cart vs. order vs. pricing) before writing your own.
  • Vendor and dependency-policy decisions: A 29-star, 10-year-dormant dependency is a useful test case for setting a minimum bar for third-party package approval (maintenance cadence, supported PHP/Laravel versions, security disclosure process).
  • Use cases it does not support: Anything touching payments, PCI scope, subscriptions, or high-traffic checkout. Those decisions should route to maintained solutions regardless of this package's merits.

When to Consider This Package

Consider it only in narrow, low-stakes circumstances:

  • Legacy maintenance: You have inherited a PHP application already depending on it, and a migration is scheduled but not yet achievable. In that case, pin the version, vendor the source, and isolate it behind an internal interface so it can be swapped without touching business logic.
  • Reference reading: You want a compact example of pure-PHP cart modeling for internal design discussions. Copy the ideas, not the code.
  • Historical or academic context: Comparing how cart libraries have evolved, or documenting why a legacy system works the way it does.

Look elsewhere — or build in-house — when any of the following are true:

  • New project or new dependency. The DEPRECATED label is explicit and there has been no release since 2013. There is no security patching, no PHP 8+ or modern Laravel compatibility guarantee, and no maintainer to escalate to.
  • Production commerce with real money. No active maintenance means no CVE response. This is a disqualifier for anything in or near payment flow.
  • Adoption and community support matter. 29 stars indicates effectively no user base; you will be the only one finding (and fixing) its bugs.
  • You need modern capabilities. Tax, promotions, multi-currency, and checkout orchestration are out of scope and would have to be built anyway.
  • You are standardizing on a framework version. Compatibility with current Laravel/PHP is unverified and unlikely without patching.

A reasonable default: treat leaphly/cart as reference material and a migration target, never as a new runtime dependency.

How to Pitch It (Stakeholders)

For executives (one paragraph): We evaluated leaphly/cart, a pure-PHP shopping cart library, and recommend against adopting it. It was explicitly marked deprecated and has had no release since 2013, with negligible community adoption. There is no vendor to support it, no security patching, and no compatibility guarantee with our current stack. The cost of owning and patching it would exceed any savings from not building cart functionality ourselves. If it exists anywhere in our codebase today, I recommend funding a migration off it as a low-effort, high-risk-reduction item.

For engineering (decision summary): Do not add this as a dependency. It is a 2013-era pure-PHP cart abstraction — line items, quantities, price aggregation — with no maintenance since. If we need a cart, build a thin internal module or adopt an actively maintained commerce package; the domain model here is worth 30 minutes of reading, not a composer require. If it is already vendored in a legacy service, wrap it behind an internal cart interface, pin the version, and schedule replacement so no business logic binds to its API.

Ask: Approve a no-adoption decision, and confirm whether any existing service depends on it so we can size a migration.

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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle