PHPackages                             minms/pospal - 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. [API Development](/categories/api)
4. /
5. minms/pospal

ActiveLibrary[API Development](/categories/api)

minms/pospal
============

银豹商超系统PHP接口

2122PHP

Since Jan 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/minms/pospal)[ Packagist](https://packagist.org/packages/minms/pospal)[ RSS](/packages/minms-pospal/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

pospal
======

[](#pospal)

银豹商超系统PHP接口

使用方法
----

[](#使用方法)

```
use minms\pospal\PospalClient;

$client = new PospalClient([
    'base_uri' => 'https://area14-win.pospal.cn:443/',
    'app_id' => 'appid',
    'app_key' => 'appkey'
]);

//获取商超系统商品
$result = [];
while (true) {
    //获取单页
    $pageResult = $client->product->queryProductPages();
    //Yii::trace($pageResult);
    //合并
    $result += $pageResult;
    //最后一页退出
    if ($client->product->getIsLastPage()) {
        break;
    }
}

//获取商超系统销售单据
$result = [];
while (true) {
    //获取单页
    $pageResult = $client->ticket->queryTicketPages(date('Y-m-d H:i:s', $stime), date('Y-m-d H:i:s', $etime));
    //Yii::trace($pageResult);
    //合并
    $result += $pageResult;
    //最后一页退出
    if ($client->ticket->getIsLastPage()) {
        break;
    }
}

//根据会员号查询会员
$info = $client->member->queryByNumber('13800138000');

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c5ebf06c8bc66fa3b5f36f2435c556432223b3e63fb6ef3c1acb488d6a37fda?d=identicon)[minms](/maintainers/minms)

---

Top Contributors

[![minms](https://avatars.githubusercontent.com/u/17665885?v=4)](https://github.com/minms "minms (2 commits)")

### Embed Badge

![Health badge](/badges/minms-pospal/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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