PHPackages                             lyre/commerce - 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. lyre/commerce

ActiveLibrary

lyre/commerce
=============

Lyre Commerce package for Laravel (E-commerce)

0.0.4(4mo ago)089MITPHPPHP ^8.2

Since Nov 6Pushed 3mo agoCompare

[ Source](https://github.com/kigathi-chege/lyre-commerce)[ Packagist](https://packagist.org/packages/lyre/commerce)[ RSS](/packages/lyre-commerce/feed)WikiDiscussions main Synced 1mo ago

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

Lyre Commerce
-------------

[](#lyre-commerce)

Lyre-native e-commerce package: models, repositories, resources, controllers, and domain services (cart, pricing, coupons, checkout). Fully aligned with Lyre patterns and query-string filtering.

### Install

[](#install)

1. Register provider (if package discovery is not enabled):
    - Add `Lyre\Commerce\Providers\LyreCommerceServiceProvider::class` to your app providers.
2. Publish config and migrations:
    - `php artisan vendor:publish --tag=lyre-commerce-config`
    - `php artisan vendor:publish --tag=lyre-commerce-migrations`
3. Migrate: `php artisan migrate`

### Routes

[](#routes)

- API prefix: `config('commerce.route_prefix', 'api')`
- Resources: locations, shippingaddresses, products, productvariants, userproductvariants, productvariantprices, orders, orderitems, coupons, couponusages
- Domain: `cart/*`, `checkout/*`

### Integrations

[](#integrations)

- Uses Lyre repository helpers, resources, and controller patterns
- Supports Lyre query strings: with, relation, relation\_in, range, filter, order, per\_page, page, startswith, withcount, wherenull, doesnthave, random, first, unpaginated, limit, offset
- Emits events hooks (future extension) per config

```
php artisan db:seed --class="Lyre\\Commerce\\Database\\Seeders\\CommerceDemoSeeder"
php artisan db:seed --class="Lyre\\Commerce\\Database\\Seeders\\CommerceComprehensiveSeeder"
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance78

Regular maintenance activity

Popularity9

Limited adoption so far

Community6

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.

###  Release Activity

Cadence

Every ~20 days

Total

5

Last Release

111d ago

Major Versions

0.0.4 → 202601271608.x-dev2026-01-27

### Community

Maintainers

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

---

Top Contributors

[![kigathi-chege](https://avatars.githubusercontent.com/u/30687709?v=4)](https://github.com/kigathi-chege "kigathi-chege (10 commits)")

---

Tags

phplaravellaravel 10laravel 11laravel 12githubcommerceopen-sourcelyre

### Embed Badge

![Health badge](/badges/lyre-commerce/health.svg)

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

###  Alternatives

[goodway/laravel-nats

Nats jetstream queue driver with client for Laravel

304.8k](/packages/goodway-laravel-nats)[tuncaybahadir/quar

A simple QR Code generation tool for your projects with Laravel 10, 11, 12 versions, php 8.2, 8.3, 8.4 and 8.5

6966.5k4](/packages/tuncaybahadir-quar)[prismaticoder/maker-checker-laravel

A package for simplifying the integration of a maker-checker approval process to your Laravel application.

232.7k](/packages/prismaticoder-maker-checker-laravel)

PHPackages © 2026

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