PHPackages                             smartcoder01/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. smartcoder01/cart

ActiveLibrary

smartcoder01/cart
=================

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

3.0.1(1y ago)0265MITPHPPHP &gt;=5.6.0

Since Mar 12Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (2)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

26

—

LowBetter than 43% of packages

Maintenance45

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.1% 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 ~0 days

Total

2

Last Release

432d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46fec9c3793ea4b0d0dbf6b4273f09526ccb22309332d8880de9986ce036eda4?d=identicon)[smartcoder01](/maintainers/smartcoder01)

---

Top Contributors

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

---

Tags

laravelcartshoppingshoppingcart

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jackiedo/cart

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

20852.7k](/packages/jackiedo-cart)[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4845.9k](/packages/amsgames-laravel-shop)[syscover/shopping-cart

Shopping Cart package

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

Meet Cart — your ultimate solution for seamless shopping cart functionality in Laravel applications. Cart simplifies the complexities of shopping cart operations, from product additions to total calculations, ensuring a frictionless user experience.

1093.6k](/packages/realrashid-cart)[yabhq/laravel-cart

Simple yet customizable Laravel shopping cart

213.0k](/packages/yabhq-laravel-cart)

PHPackages © 2026

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