PHPackages                             devraeph/laracart - 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. devraeph/laracart

ActiveLibrary[Framework](/categories/framework)

devraeph/laracart
=================

A simple cart for Laravel

2.0.2(4y ago)025MITPHPPHP ~7.3 || ~7.4 || ~8.0

Since Sep 13Pushed 4y agoCompare

[ Source](https://github.com/DevRaeph/laracart)[ Packagist](https://packagist.org/packages/devraeph/laracart)[ Docs](https://github.com/lukepolo/laracart)[ GitHub Sponsors](https://github.com/lukepolo)[ RSS](/packages/devraeph-laracart/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (8)Versions (155)Used By (0)

Forked and edited with some rounding related stuff for personal needs

LaraCart - Laravel Shopping Cart Package ([](http://laracart.lukepolo.com/))
----------------------------------------------------------------------------------------------------------

[](#laracart---laravel-shopping-cart-package-httplaracartlukepolocom)

[![Build Status](https://camo.githubusercontent.com/ed73ec76e37c5df19e83c7aa5b19efbe0a56dd06379e812523fadcff1847db32/68747470733a2f2f7472617669732d63692e6f72672f6c756b65706f6c6f2f6c617261636172742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lukepolo/laracart) [![Latest Stable Version](https://camo.githubusercontent.com/aa954e1466c52d6cea7ba7bce5a6369ab915db16f98672bd8cc721842b8ca915/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65706f6c6f2f6c617261636172742f762f737461626c65)](https://packagist.org/packages/lukepolo/laracart) [![Test Coverage](https://camo.githubusercontent.com/9a2b5221b39dedb94234044ac4904b2aae62d936b9d8451ec86631d0800cf751/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6c756b65706f6c6f2f6c617261636172742f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/lukepolo/laracart/coverage) [![Total Downloads](https://camo.githubusercontent.com/9c45c4ffef9df10a6159c32ce71f58ab54e46d2068a4c877d47f36682bdcc680/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65706f6c6f2f6c617261636172742f646f776e6c6f616473)](https://packagist.org/packages/lukepolo/laracart) [![License](https://camo.githubusercontent.com/f8ce0c431bd0c5575fd6cd953c2cedc6a6cb3376e5d0d94a2e23b69be0d3b71f/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65706f6c6f2f6c617261636172742f6c6963656e7365)](https://packagist.org/packages/lukepolo/laracart)

Features
--------

[](#features)

- Coupons
- Session Based System
- Cross Device Support
- Multiple cart instances
- Fees such as a delivery fee
- Taxation on a the item level
- Prices display currency and locale
- Endless item chaining for complex systems
- Totals of all items within the item chains
- Item Model Relation at a global and item level
- Quickly insert items with your own item models

Laravel compatibility
---------------------

[](#laravel-compatibility)

Laravellaracart5.1 | 5.2 | 5.31.1 | 1.25.4+1.\*Installation
------------

[](#installation)

Install the package through [Composer](http://getcomposer.org/). Edit your project's `composer.json` file by adding:

```
{
    "require": {
        ........,
        "lukepolo/laracart": "1.11.*"
    }
}

```

If using 5.4 you will need to include the service providers / facade in `app/config/app.php`:

```
	LukePOLO\LaraCart\LaraCartServiceProvider::class,
```

Include the Facade :

```
	'LaraCart' => LukePOLO\LaraCart\Facades\LaraCart::class,
```

Copy over the configuration file by running the command:

```
    php artisan vendor:publish --provider='LukePOLO\LaraCart\LaraCartServiceProvider'

```

### Documentation

[](#documentation)

[](http://laracart.lukepolo.com/)

To Contribute to documentation use this repo :

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.2% 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 ~16 days

Recently: every ~176 days

Total

150

Last Release

1479d ago

Major Versions

0.2.15 → 1.0.02015-12-30

1.1.31 → 2.0-RC12016-10-16

0.0.0 → 1.1.442017-05-03

1.12.0-RC-1 → 2.0.02021-06-26

PHP version history (10 changes)0.1PHP &gt;=5.4.0

1.0.3PHP &gt;=5.5.0

1.1.3PHP &gt;=5.5.9

1.1.40PHP &gt;=5.6

1.6.1PHP &gt;=7.1

1.7.0PHP ^7.1.3

1.9.0PHP ~7.2 || ~7.3

1.10.0PHP ~7.2 || ~7.3 || ~7.4

1.12.0-RC-1PHP ~7.2 || ~7.3 || ~7.4 || ~8.0

2.0.2PHP ~7.3 || ~7.4 || ~8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58560217?v=4)[Raphael Planer](/maintainers/devraeph)[@DevRaeph](https://github.com/DevRaeph)

---

Top Contributors

[![lukepolo](https://avatars.githubusercontent.com/u/2066668?v=4)](https://github.com/lukepolo "lukepolo (517 commits)")[![tyloo](https://avatars.githubusercontent.com/u/611035?v=4)](https://github.com/tyloo "tyloo (12 commits)")[![it-can](https://avatars.githubusercontent.com/u/644288?v=4)](https://github.com/it-can "it-can (12 commits)")[![DevRaeph](https://avatars.githubusercontent.com/u/58560217?v=4)](https://github.com/DevRaeph "DevRaeph (9 commits)")[![bmartus](https://avatars.githubusercontent.com/u/4819899?v=4)](https://github.com/bmartus "bmartus (5 commits)")[![jmarcher](https://avatars.githubusercontent.com/u/686843?v=4)](https://github.com/jmarcher "jmarcher (5 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (3 commits)")[![yajra](https://avatars.githubusercontent.com/u/2687997?v=4)](https://github.com/yajra "yajra (2 commits)")[![dsfser](https://avatars.githubusercontent.com/u/9280153?v=4)](https://github.com/dsfser "dsfser (2 commits)")[![mikeaag](https://avatars.githubusercontent.com/u/1278785?v=4)](https://github.com/mikeaag "mikeaag (2 commits)")[![Roywcm](https://avatars.githubusercontent.com/u/2345587?v=4)](https://github.com/Roywcm "Roywcm (2 commits)")[![aditya-cherukuri](https://avatars.githubusercontent.com/u/13918532?v=4)](https://github.com/aditya-cherukuri "aditya-cherukuri (2 commits)")[![dontfreakout](https://avatars.githubusercontent.com/u/1829574?v=4)](https://github.com/dontfreakout "dontfreakout (1 commits)")[![dennisoderwald](https://avatars.githubusercontent.com/u/1653185?v=4)](https://github.com/dennisoderwald "dennisoderwald (1 commits)")[![JuniorE](https://avatars.githubusercontent.com/u/4274000?v=4)](https://github.com/JuniorE "JuniorE (1 commits)")[![daniel-zahariev](https://avatars.githubusercontent.com/u/263063?v=4)](https://github.com/daniel-zahariev "daniel-zahariev (1 commits)")[![mhamlet](https://avatars.githubusercontent.com/u/1281731?v=4)](https://github.com/mhamlet "mhamlet (1 commits)")[![basepack](https://avatars.githubusercontent.com/u/939500?v=4)](https://github.com/basepack "basepack (1 commits)")[![ParadoxNL](https://avatars.githubusercontent.com/u/3331772?v=4)](https://github.com/ParadoxNL "ParadoxNL (1 commits)")[![wit3](https://avatars.githubusercontent.com/u/5450259?v=4)](https://github.com/wit3 "wit3 (1 commits)")

---

Tags

laravelcartshoppingshopping cart

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/devraeph-laracart/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[lukepolo/laracart

A simple cart for Laravel

585156.4k1](/packages/lukepolo-laracart)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M131](/packages/laravel-pulse)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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