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

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

rabsana/trade
=============

An elegant order matching system for laravel framework.

v3.5.4(2y ago)111MITPHP

Since Aug 31Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Trade system
============

[](#trade-system)

The `rabsana/trade` package provides some endpoints to add,edit,show,delete the symbols like `BTCUSDT`,`ETHUSDT`,... and add buy/sell orders to trade them

Installation
============

[](#installation)

1- install the package:

```
composer require rabsana/trade
```

2- publish all resources:

```
php artisan vendor:publish --tag=rabsana-trade-publish-all
```

Or you can publish resources seprately:

```
php artisan vendor:publish --tag=rabsana-trade-migrations
php artisan vendor:publish --tag=rabsana-trade-config
php artisan vendor:publish --tag=rabsana-trade-assets
php artisan vendor:publish --tag=rabsana-trade-langs
php artisan vendor:publish --tag=rabsana-trade-views
```

3- run the migrations

```
php artisan migrate
```

4- download the package's postman collection: [Postman link](https://www.getpostman.com/collections/0c9b6493ad53d61f42e5)

### There are two groups of endpoints: 1- api (user side) 2- adminApi (admin side)

[](#there-are-two-groups-of-endpoints-1--api-user-side-2--adminapi-admin-side)

### At the `rabsana-trade` config file you can set the middlewares that protects the private endpoints otherwise everyone can `CRUD` the symbols,orders,..

[](#at-the-rabsana-trade-config-file-you-can-set-the-middlewares-that-protects-the-private-endpoints-otherwise-everyone-can-crud-the-symbolsorders)

Match the orders
================

[](#match-the-orders)

After the orders created we have to match them. to do that run the `php artisan order:match` command this command has two argument 1- the first one is the number of orders that be matched. the default is `100`2- the second argument is the name of symbol to match the a specific symbol's order. the default value is `NULL` = match all symbols

generate random orders
======================

[](#generate-random-orders)

There is a command which generate orders in `BTCUSDT`,`ETHUSDT`,`BNBUSDT` symbols. please run this command in local environment

`php artisan order:generate`

this command will generate 1000 orders. you can send the number of orders as the first argument

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

990d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rabsana-trade/health.svg)

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

###  Alternatives

[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[flarum/pusher

See new discussions and posts in real-time using Pusher.

22367.3k4](/packages/flarum-pusher)

PHPackages © 2026

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