PHPackages                             lotestudio/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. [Framework](/categories/framework)
4. /
5. lotestudio/shoppingcart

ActiveLibrary[Framework](/categories/framework)

lotestudio/shoppingcart
=======================

Laravel Shoppingcart

1.1(1y ago)011MITPHP

Since Jan 7Pushed 1y agoCompare

[ Source](https://github.com/lotestudio/LaravelShoppingcart)[ Packagist](https://packagist.org/packages/lotestudio/shoppingcart)[ RSS](/packages/lotestudio-shoppingcart/feed)WikiDiscussions master Synced today

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

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

[](#laravelshoppingcart)

[![CI Status](https://github.com/michaelbelgium/LaravelShoppingcart/actions/workflows/php.yml/badge.svg)](https://github.com/michaelbelgium/LaravelShoppingcart/actions)[![Total Downloads](https://camo.githubusercontent.com/61c6412545726ef84b05b78df2a8b3cf08dc4491c524669bcbc793da23c00428/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c62656c6769756d2f73686f7070696e67636172742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/michaelbelgium/shoppingcart)[![Latest Stable Version](https://camo.githubusercontent.com/9645199a56006320224a1be63d070c9a7905d3d20a9dd71cc787b4b29ac94c70/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c62656c6769756d2f73686f7070696e67636172742f762f737461626c65)](https://packagist.org/packages/michaelbelgium/shoppingcart)[![Latest Unstable Version](https://camo.githubusercontent.com/6ede32bbee7b93928bb93d6b7591afb63e45ac3b14cc5082586080d5634b9030/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c62656c6769756d2f73686f7070696e67636172742f762f756e737461626c65)](https://packagist.org/packages/michaelbelgium/shoppingcart)[![License](https://camo.githubusercontent.com/4fb247bcbc760d2198122ede20103c34a67ca625e726fd989f607b75f3b7a52c/68747470733a2f2f706f7365722e707567782e6f72672f6d69636861656c62656c6769756d2f73686f7070696e67636172742f6c6963656e7365)](https://packagist.org/packages/michaelbelgium/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 lotestudio/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/MichaelBelgium/LaravelShoppingcart/wiki) to learn more about LaravelShoppingcart

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance42

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.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 ~65 days

Total

2

Last Release

477d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4472448?v=4)[lote](/maintainers/lote)[@lote](https://github.com/lote)

---

Top Contributors

[![Crinsane](https://avatars.githubusercontent.com/u/1297781?v=4)](https://github.com/Crinsane "Crinsane (129 commits)")[![MichaelBelgium](https://avatars.githubusercontent.com/u/8951045?v=4)](https://github.com/MichaelBelgium "MichaelBelgium (47 commits)")[![lotestudio](https://avatars.githubusercontent.com/u/1052691?v=4)](https://github.com/lotestudio "lotestudio (4 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)")[![jorgejavierleon](https://avatars.githubusercontent.com/u/7950376?v=4)](https://github.com/jorgejavierleon "jorgejavierleon (2 commits)")[![tkaw220](https://avatars.githubusercontent.com/u/694289?v=4)](https://github.com/tkaw220 "tkaw220 (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)")[![olimortimer](https://avatars.githubusercontent.com/u/1190115?v=4)](https://github.com/olimortimer "olimortimer (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)")

---

Tags

laravelshoppingcart

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/pulse

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

1.7k15.1M132](/packages/laravel-pulse)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[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)[lukepolo/laracart

A simple cart for Laravel

585156.4k1](/packages/lukepolo-laracart)

PHPackages © 2026

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