PHPackages                             jackiedo/cart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. jackiedo/cart

ActiveLibrary[Framework](/categories/framework)

jackiedo/cart
=============

A package used to create and manage carts (such as shopping, recently viewed, compared items...) in Laravel application.

3.0.4(3y ago)20852.7k—0%31[7 issues](https://github.com/JackieDo/Laravel-Cart/issues)[2 PRs](https://github.com/JackieDo/Laravel-Cart/pulls)MITPHPPHP &gt;=5.6.0CI failing

Since Jun 11Pushed 1y ago3 watchersCompare

[ Source](https://github.com/JackieDo/Laravel-Cart)[ Packagist](https://packagist.org/packages/jackiedo/cart)[ RSS](/packages/jackiedo-cart/feed)WikiDiscussions v3.0 Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (19)Used By (0)

Laravel Cart
============

[](#laravel-cart)

[![Run tests](https://github.com/JackieDo/Laravel-Cart/actions/workflows/run-tests.yml/badge.svg?branch=v3.0)](https://github.com/JackieDo/Laravel-Cart/actions/workflows/run-tests.yml)[![Build Status](https://camo.githubusercontent.com/74ef692a006a2a13dee91701c96688c283d8980750a84bc76441f042107cb817/68747470733a2f2f6170692e7472617669732d63692e6f72672f4a61636b6965446f2f4c61726176656c2d436172742e7376673f6272616e63683d76332e30)](https://travis-ci.org/JackieDo/Laravel-Cart)[![Total Downloads](https://camo.githubusercontent.com/25ea7d74cbc8ad6ff8382569605d73d2fe45b9e514e59c57b17f35093dcfa737/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f636172742f646f776e6c6f616473)](https://packagist.org/packages/jackiedo/cart)[![Latest Stable Version](https://camo.githubusercontent.com/a8e8e2381de0c87242d468013775828d658091ae015b310ccfb3d4609f8a237b/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f636172742f762f737461626c65)](https://packagist.org/packages/jackiedo/cart)[![License](https://camo.githubusercontent.com/f01f3243bcc537c971b166dceb30ae02c11e6e2f1ef2da1425c0954c30678088/68747470733a2f2f706f7365722e707567782e6f72672f6a61636b6965646f2f636172742f6c6963656e7365)](https://packagist.org/packages/jackiedo/cart)

Laravel Cart is a package used to create and manage carts (such as shopping, recently viewed, compared items...) in Laravel application.

Features
--------

[](#features)

- Session based system.
- Support multiple cart instances.
- Classification of commercial and non-commercial carts.
- Grouping the carts.
- Quickly insert items with your own item models.
- Taxation on the cart level (with built-in taxing system).
- Applying actions on the cart and item level (such as discount, service charge, shipping cost...).
- Exporting details as Laravel Collection.
- Allows storage of extended information.
- Control of firing events.

Versions and compatibility
--------------------------

[](#versions-and-compatibility)

Currently, the Laravel Cart has three branches that are compatible with the following versions of Laravel:

BranchTag releasesLaravel version[v1.0](https://github.com/JackieDo/Laravel-Cart/tree/v1.0)1.\*4.x only[v2.0](https://github.com/JackieDo/Laravel-Cart/tree/v2.0)2.\*5.x only[v3.0](https://github.com/JackieDo/Laravel-Cart/tree/v3.0)3.\*5.x or aboveCurrently, versions `v1.0` and `v2.0` are no longer supported. Version `v3.0` was created with more advanced features, and has a completely different way of working from the old version.

Important note (\*)
-------------------

[](#important-note-)

Version 3.0 has a different structure and working method from previous versions. Therefore, if you have used previous versions and do not want to change or want to learn new ways of working, I recommend that you do not install this version. Staying with the old version, it doesn't give you any new features, but gives you safety.

On the contrary, if you choose version 3.0 to work, you will own particularly useful features that previous versions did not have. It is important that you read the documentation carefully to work properly.

Documentation
-------------

[](#documentation)

You can find documentation for version `v3.0` [here](https://jackiedo.github.io/Laravel-Cart). Documentations for older versions, please see the respective branches.

Testing
-------

[](#testing)

The package has been tested through over 120 test cases with GitHub Actions from PHP version 7.1 (Laravel 5.8) to 8.2 (Laravel 10.x). Detailed information about test cases please see [here](https://github.com/JackieDo/Laravel-Cart/actions/workflows/run-tests.yml).

License
-------

[](#license)

[MIT](LICENSE) © Jackie Do

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~122 days

Recently: every ~247 days

Total

18

Last Release

1184d ago

Major Versions

1.0.1 → 2.0.02017-06-17

1.0.2 → 2.0.12017-06-17

v1.0.x-dev → 2.0.22017-06-20

2.0.6 → 3.0.02020-06-02

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

3.0.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e275bda3c66d969fc06951725fb9baa82b3b0c7eba7e9c4fcf0cf9101c2041c2?d=identicon)[JackieDo](/maintainers/JackieDo)

---

Top Contributors

[![JackieDo](https://avatars.githubusercontent.com/u/9862115?v=4)](https://github.com/JackieDo "JackieDo (74 commits)")[![andershagbard](https://avatars.githubusercontent.com/u/9662430?v=4)](https://github.com/andershagbard "andershagbard (1 commits)")

---

Tags

cartlaravellaravel-cartlaravel-shopping-cartshopping-cartlaravelcartshoppingshoppingcart

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jackiedo-cart/health.svg)

```
[![Health](https://phpackages.com/badges/jackiedo-cart/health.svg)](https://phpackages.com/packages/jackiedo-cart)
```

###  Alternatives

[lukepolo/laracart

A simple cart for Laravel

583135.4k1](/packages/lukepolo-laracart)[binafy/laravel-cart

Laravel Cart is a customizable package for adding shopping cart functionality to Laravel applications

40445.9k](/packages/binafy-laravel-cart)[syscover/shopping-cart

Shopping Cart package

299.1k1](/packages/syscover-shopping-cart)[getcandy/core

GetCandy Laravel e-commerce core functionality.

156.6k3](/packages/getcandy-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
