PHPackages                             hejunjie/trade-splitter - 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. hejunjie/trade-splitter

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

hejunjie/trade-splitter
=======================

一个灵活、可扩展的交易/利润分账组件，提供百分比、固定金额、阶梯与递归分账等内置策略，并支持注册自定义策略 | A flexible and scalable transaction/profit sharing component, offering built-in strategies such as percentage, fixed amount, tiered, and recursive sharing, and supporting the registration of custom strategies

v1.0.0(8mo ago)702MITPHPPHP &gt;=8.1

Since Oct 13Pushed 8mo agoCompare

[ Source](https://github.com/zxc7563598/php-trade-splitter)[ Packagist](https://packagist.org/packages/hejunjie/trade-splitter)[ RSS](/packages/hejunjie-trade-splitter/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

### PHP Trade Splitter

[](#php-trade-splitter)

 [English](./README.md)｜[简体中文](./README.zh-CN.md)---

A **flexible and extensible** trade/profit distribution component.
Built-in strategies include **Percentage**, **Fixed Amount**, **Ladder**, and **Recursive**, and you can easily register **custom strategies**.

Perfect for multi-level commissions, e-commerce settlements, platform fees, and agent profit sharing.

**This project has been parsed by Zread. If you need a quick overview of the project, you can click here to view it：[Understand this project](https://zread.ai/zxc7563598/php-trade-splitter)**

---

✨ Features
----------

[](#-features)

- 🔧 **Multiple Strategies** – 4 common built-in distribution modes
- 🧩 **Extensible Design** – easily register your own strategy
- ⚡ **Simple to Use** – one static method does it all
- 🧠 **Clean Architecture** – object-oriented with the Strategy pattern

---

📦 Installation
--------------

[](#-installation)

```
composer require hejunjie/trade-splitter
```

---

🚀 Quick Start
-------------

[](#-quick-start)

```
