PHPackages                             skygdi/shopping-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. skygdi/shopping-cart

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

skygdi/shopping-cart
====================

shopping cart

01PHP

Since May 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/skygdi/shopping-cart)[ Packagist](https://packagist.org/packages/skygdi/shopping-cart)[ RSS](/packages/skygdi-shopping-cart/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

### Quick Simple base shopping cart model (product id , user\_id and qty) for Laravel

[](#quick-simple-base-shopping-cart-model-product-id--user_id-and-qty-for-laravel)

1.Install:

```
composer require skygdi/shopping-cart
```

2.Public migration files:

```
php artisan vendor:publish --provider="skygdi\ShoppingCart\ShoppingCartProvider"
```

3.Migrate

```
php artisan migrate
```

4.Usage:

```
use skygdi\ShoppingCart\model\ShoppingCart;

//create
ShoppingCart::create([
  "product_id"      =>  1,
  "user_id"         =>  1,
  "qty"             =>  5,
]);
```

---

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/7517d80fc139bcb8b3a98f1b1f4db151e007b032c50eeb4b4330efb4c659c54e?d=identicon)[skygdi](/maintainers/skygdi)

---

Top Contributors

[![skygdi](https://avatars.githubusercontent.com/u/20422201?v=4)](https://github.com/skygdi "skygdi (1 commits)")

### Embed Badge

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

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

###  Alternatives

[endroid/qr-code

Endroid QR Code

4.8k67.6M348](/packages/endroid-qr-code)[illuminatech/balance

Provides support for Balance accounting system based on debit and credit principle

16137.4k](/packages/illuminatech-balance)

PHPackages © 2026

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