PHPackages                             3neti/x-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. 3neti/x-commerce

ActiveLibrary

3neti/x-commerce
================

Commercial architecture and knowledge system for packaging, pricing, licensing, metering, and sustaining outcomes delivered through the x-change ecosystem.

v1.0.0(yesterday)02↑2900%1MITJavaScriptPHP ^8.2CI passing

Since Jul 31Pushed yesterdayCompare

[ Source](https://github.com/3neti/x-commerce)[ Packagist](https://packagist.org/packages/3neti/x-commerce)[ RSS](/packages/3neti-x-commerce/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (1)

x-commerce
==========

[](#x-commerce)

**x-commerce is the commercial architecture and knowledge system for packaging, pricing, licensing, metering, and sustaining outcomes delivered through the x-change ecosystem.**

This package is the source of truth for versioned Pay Code pricing and deterministic commercial allocation. It also owns the commercial vocabulary, stakeholder incentives, projection assumptions, money-flow categories, and software boundaries needed to turn value-bearing executions into sustainable commercial offerings.

Foundational Axioms
-------------------

[](#foundational-axioms)

> The instruction is the transaction.
> The transaction is the product.
> The product is the business.

The customer is purchasing an outcome, not a software feature.

What This Package Is
--------------------

[](#what-this-package-is)

x-commerce is a reusable package for commercial architecture. Its runtime primitives quote instruction items, capture immutable sale snapshots, and calculate a first-class Commercial Waterfall. Consuming applications remain responsible for authorization, persistence, accounting entries, and money movement.

The first documented ecosystem is the proposed **RBAP Digital Banking Program**, a rural-bank digital services program introduced through the Rural Bankers Association of the Philippines. RBAP is the first subject, not the package boundary.

What This Package Is Not
------------------------

[](#what-this-package-is-not)

x-commerce is not:

- a deployable customer application;
- a catalog, cart, checkout, order, invoice, or billing system;
- a bank integration package;
- a NetBank integration package;
- a replacement for x-legal;
- a source of legal, regulatory, banking, accounting, or tax conclusions;
- evidence that RBAP, NetBank, ODTI, 3neti, or any rural bank has accepted a proposed arrangement.

Relationship To Adjacent Systems
--------------------------------

[](#relationship-to-adjacent-systems)

The current commercial chain is documented as a proposed architecture:

```
3neti
    owns and develops the intellectual property
        |
ODTI
    licenses and commercially operates the technology
        |
Participating rural banks
    obtain licenses through ODTI
        |
Depositors, employers, remitters, merchants, government agencies,
and other customers consume rural-bank-branded digital services

```

x-change answers how a value-bearing instruction is represented, authorized, executed, completed, and evidenced.

x-commerce answers how an outcome is packaged, priced, licensed, sold, metered, commissioned, and made commercially sustainable.

x-legal owns legal characterization, regulatory dependencies, legal traceability, and counsel-facing questions. x-commerce records commercial assumptions and hands legal questions to x-legal instead of settling them locally.

Applications such as x-Payout assemble execution capabilities and approved commercial primitives, once they exist, into deployable products for specific customers.

Runtime Boundary
----------------

[](#runtime-boundary)

The package owns:

- the versioned Pay Code commercial catalog;
- deterministic instruction quotes;
- immutable commercial sale snapshots; and
- pure allocation plans for provider cost, product revenue, partner commission, commercial revenue, and beneficiary principal.

The package does not own:

- Account or Treasury Position posting;
- provider calls or settlement;
- mutable balances;
- issuance authorization; or
- delivery orchestration.

Those effects belong to the consuming settlement system. This keeps the same quote reproducible without allowing a pricing package to move money.

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

[](#installation)

```
composer require 3neti/x-commerce:^1.0
```

Laravel discovers `XCommerceServiceProvider` automatically. Publish the catalog only when the application intentionally needs to override it:

```
php artisan vendor:publish --tag=x-commerce-config
```

Catalog versions become immutable once referenced by an accepted sale snapshot. Create a new catalog version instead of rewriting historical prices.

Compatibility
-------------

[](#compatibility)

- PHP 8.2, 8.3, and 8.4
- Illuminate 11, 12, and 13

The calculation layer is framework-independent. Laravel integration is limited to package discovery and configuration.

Documentation Map
-----------------

[](#documentation-map)

- [Compass](docs/COMPASS.md): canonical orientation.
- [Architecture](docs/ARCHITECTURE.md): knowledge architecture and future software boundaries.
- [Grammar](docs/GRAMMAR.md): commercial vocabulary and usage discipline.
- [Assumptions Register](docs/ASSUMPTIONS_REGISTER.md): traceable working assumptions.
- [Commercial Model Register](docs/COMMERCIAL_MODEL_REGISTER.md): model inventory.
- [RBAP Digital Banking Program](docs/ecosystems/rbap-digital-banking-program/README.md): first ecosystem.
- [Stakeholders](docs/stakeholders/README.md): "What's in it for me?" views.
- [Economics](docs/economics/README.md): pricing, revenue, cost, and projection models.
- [Products](docs/products/README.md): outcome-centered productization.
- [Operations](docs/operations/README.md): deployment and managed operations.
- [Legal Dependencies](docs/legal/README.md): handoffs to x-legal.
- [Partner Participation](docs/partners/README.md): non-binding participation models.
- [Decisions](docs/decisions/README.md): commercial architecture decision records.
- [Templates](docs/templates): reusable drafting formats.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/586e1ed70140038e6348728222adbcf68bfc4455b1f94a4f8bcbe57917a63d57?d=identicon)[3neti](/maintainers/3neti)

---

Top Contributors

[![3neti](https://avatars.githubusercontent.com/u/89447696?v=4)](https://github.com/3neti "3neti (102 commits)")

---

Tags

laravelcommercemeteringpricinglicensingcommercial-architecturex-change

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/3neti-x-commerce/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M275](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.4M352](/packages/psalm-plugin-laravel)[moonshine/moonshine

Laravel administration panel

1.3k268.2k86](/packages/moonshine-moonshine)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

5031.3k](/packages/erag-laravel-lang-sync-inertia)[ublabs/blade-simple-icons

A package to easily make use of Simple Icons in your Laravel Blade views.

1866.3k](/packages/ublabs-blade-simple-icons)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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