PHPackages                             kevinmontana/shoppingcart - 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. kevinmontana/shoppingcart

ActiveLibrary

kevinmontana/shoppingcart
=========================

Laravel Shoppingcart

2.8.0(2y ago)16MITPHP

Since Mar 22Pushed 2y agoCompare

[ Source](https://github.com/kevinmontana/LaravelShoppingcart)[ Packagist](https://packagist.org/packages/kevinmontana/shoppingcart)[ RSS](/packages/kevinmontana-shoppingcart/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

LaravelShoppingcart
-------------------

[](#laravelshoppingcart)

[![CI Status](https://github.com/kevinmontana/LaravelShoppingcart/actions/workflows/php.yml/badge.svg)](https://github.com/kevinmontana/LaravelShoppingcart/actions)[![Total Downloads](https://camo.githubusercontent.com/b0b141d660c3fd4cd445d73f3fad70f28953c5ed3643d75aa04d8ac0afffce43/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e6d6f6e74616e612f73686f7070696e67636172742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/kevinmontana/shoppingcart)[![Latest Stable Version](https://camo.githubusercontent.com/76a5752e8f6b6d839fd326de25b94b9ef5ce2febcd3a6f2aa216f126b1879d2c/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e6d6f6e74616e612f73686f7070696e67636172742f762f737461626c65)](https://packagist.org/packages/kevinmontana/shoppingcart)[![Latest Unstable Version](https://camo.githubusercontent.com/c6f592f4d6f6642eef67db48c27c4ce13fd4387060a4c4b8a669efdb59220d10/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e6d6f6e74616e612f73686f7070696e67636172742f762f756e737461626c65)](https://packagist.org/packages/kevinmontana/shoppingcart)[![License](https://camo.githubusercontent.com/019e10eafa87b2f4225144d5f7780fff3eb087f28be2aa563c04ee4c6fd26b31/68747470733a2f2f706f7365722e707567782e6f72672f6b6576696e6d6f6e74616e612f73686f7070696e67636172742f6c6963656e7365)](https://packagist.org/packages/kevinmontana/shoppingcart)

A simple shoppingcart implementation for Laravel.

Installation
------------

[](#installation)

Install the package through [Composer](http://getcomposer.org/).

Run the Composer require command from the Terminal:

```
composer require kevinmontana/shoppingcart

```

### Difference between [Crinsane/LaravelShoppingcart](https://github.com/Crinsane/LaravelShoppingcart)

[](#difference-between-crinsanelaravelshoppingcart)

- Added functionality
    - `Cart::cost()`
    - `Cart::costFormat()`
    - Enum `CostType`
    - `Cart::totalFormat()`
    - `Cart::taxFormat()`
    - `Cart::subtotalFormat()`
- More recent Laravel support
- More typed parameters, returns, properties, ...
- Less usage of magic properties - really dislike this one
- Refactoring

Overview and usage
------------------

[](#overview-and-usage)

Look at the detailed [wiki](https://github.com/kevinmontana/LaravelShoppingcart/wiki) to learn more about LaravelShoppingcart

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.6% 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

781d ago

### Community

Maintainers

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

---

Top Contributors

[![Crinsane](https://avatars.githubusercontent.com/u/1297781?v=4)](https://github.com/Crinsane "Crinsane (129 commits)")[![rakibabu](https://avatars.githubusercontent.com/u/14089150?v=4)](https://github.com/rakibabu "rakibabu (3 commits)")[![mattusik](https://avatars.githubusercontent.com/u/1252223?v=4)](https://github.com/mattusik "mattusik (3 commits)")[![arif98741](https://avatars.githubusercontent.com/u/17213478?v=4)](https://github.com/arif98741 "arif98741 (2 commits)")[![kevinmontana](https://avatars.githubusercontent.com/u/38727611?v=4)](https://github.com/kevinmontana "kevinmontana (2 commits)")[![tkaw220](https://avatars.githubusercontent.com/u/694289?v=4)](https://github.com/tkaw220 "tkaw220 (2 commits)")[![jorgejavierleon](https://avatars.githubusercontent.com/u/7950376?v=4)](https://github.com/jorgejavierleon "jorgejavierleon (2 commits)")[![kekenec](https://avatars.githubusercontent.com/u/11806874?v=4)](https://github.com/kekenec "kekenec (1 commits)")[![mrabbani](https://avatars.githubusercontent.com/u/4253979?v=4)](https://github.com/mrabbani "mrabbani (1 commits)")[![nielsiano](https://avatars.githubusercontent.com/u/947684?v=4)](https://github.com/nielsiano "nielsiano (1 commits)")[![pendalff](https://avatars.githubusercontent.com/u/236587?v=4)](https://github.com/pendalff "pendalff (1 commits)")[![publiux](https://avatars.githubusercontent.com/u/2847188?v=4)](https://github.com/publiux "publiux (1 commits)")[![sasin91](https://avatars.githubusercontent.com/u/808722?v=4)](https://github.com/sasin91 "sasin91 (1 commits)")[![sobhanatar](https://avatars.githubusercontent.com/u/1507325?v=4)](https://github.com/sobhanatar "sobhanatar (1 commits)")[![4ilo](https://avatars.githubusercontent.com/u/15938739?v=4)](https://github.com/4ilo "4ilo (1 commits)")[![xpundel](https://avatars.githubusercontent.com/u/1384653?v=4)](https://github.com/xpundel "xpundel (1 commits)")[![absemetov](https://avatars.githubusercontent.com/u/735924?v=4)](https://github.com/absemetov "absemetov (1 commits)")[![adamgoose](https://avatars.githubusercontent.com/u/611068?v=4)](https://github.com/adamgoose "adamgoose (1 commits)")[![cwprogger](https://avatars.githubusercontent.com/u/11742147?v=4)](https://github.com/cwprogger "cwprogger (1 commits)")[![jackmcdade](https://avatars.githubusercontent.com/u/44739?v=4)](https://github.com/jackmcdade "jackmcdade (1 commits)")

---

Tags

laravelshoppingcart

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kevinmontana-shoppingcart/health.svg)

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

###  Alternatives

[gloudemans/shoppingcart

Laravel Shoppingcart

3.7k756.7k12](/packages/gloudemans-shoppingcart)[lukepolo/laracart

A simple cart for Laravel

583135.4k1](/packages/lukepolo-laracart)[anayarojo/shoppingcart

Laravel Shoppingcart

57175.5k](/packages/anayarojo-shoppingcart)

PHPackages © 2026

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