PHPackages                             bozboz/ecommerce - 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. bozboz/ecommerce

AbandonedLibrary

bozboz/ecommerce
================

Shop/payment functionality for Bozboz sites

v1.2.3(7y ago)0232PHP

Since Apr 19Pushed 4y ago3 watchersCompare

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

READMEChangelogDependencies (6)Versions (13)Used By (0)

Ecommerce package
=================

[](#ecommerce-package)

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

[](#installation)

1. Require the package in Composer, by running `composer require bozboz/ecommerce`
2. Add to the providers array in config/app.php

    ```
     Bozboz\Ecommerce\Providers\EcommerceServiceProvider::class,

    ```
3. Run `php artisan vendor:publish && php artisan migrate`
4. Edit `config/ecommerce.php`

Usage
-----

[](#usage)

### CartController

[](#cartcontroller)

The cart route is set in config under 'ecommerce.cart.route'. This will set up the following routes, prefixed with the configured cart route:

```
+--------+--------------------------------+------------------------+
| Method | URL                            | Use                    |
+--------+--------------------------------+------------------------+
| GET    | /                              | view cart              |
| POST   | /                              | update cart quantities |
| DELETE | /                              | clear cart             |
| POST   | /items                         | add item               |
| DELETE | /items/{id}                    | delete item via form   |
| GET    | /items/remove/{id}/{sessionId} | delete item via link   |
+--------+--------------------------------+------------------------+

```

For more information regarding cart usage see [bozboz/orders](http://gitlab.lab/laravel-packages/orders)

**\#TODO:** The CartController should probably be in bozboz/orders since that's where all the models are.

### Other Packages

[](#other-packages)

- [bozboz/orders](http://gitlab.lab/laravel-packages/orders)
- [bozboz/payment](http://gitlab.lab/laravel-packages/payment)
- [bozboz/products](http://gitlab.lab/laravel-packages/products)
- [bozboz/shipping](http://gitlab.lab/laravel-packages/shipping)
- [bozboz/vouchers](http://gitlab.lab/laravel-packages/vouchers)

The idea behind having these all split up in to separate packages is that they could be used in isolation though that idea has not yet been properly explored and there's a good chance that they wouldn't function in any useful/meaningful way on their own.

Each package has its own readme so follow the links above to read up on how to use them.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~142 days

Recently: every ~50 days

Total

7

Last Release

2815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c709396f3a6a7048c1c89615c6fce3f8301bd5715c641bf07b48268187727a3?d=identicon)[bozboz](/maintainers/bozboz)

---

Top Contributors

[![samdking](https://avatars.githubusercontent.com/u/1331514?v=4)](https://github.com/samdking "samdking (42 commits)")

### Embed Badge

![Health badge](/badges/bozboz-ecommerce/health.svg)

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

PHPackages © 2026

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