PHPackages                             stone009/hmpay-agent - 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. [Payment Processing](/categories/payments)
4. /
5. stone009/hmpay-agent

ActiveLibrary[Payment Processing](/categories/payments)

stone009/hmpay-agent
====================

hmpay agent SDK!

001PHP

Since Feb 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/stone009/hmpay-agent)[ Packagist](https://packagist.org/packages/stone009/hmpay-agent)[ RSS](/packages/stone009-hmpay-agent/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 河马付
=====

[](#-河马付-)

 河马付代理商 SDK

安装
--

[](#安装)

```
$ composer require stone009/hmpay-agent -vvv
```

配置
--

[](#配置)

在使用本扩展前，你需要先联系杉德支付开通河马付代理商。

使用
--

[](#使用)

```
use Stone009\HmpayAgent\Agent;

$config = [
    'app_id' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxx',
    'private_key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxx',
    ...
];
$agent = new Agent($config);

//代理商进件商户
$params = [
    'merchant_type' => 'GENERAL_MERCHANT',
    ...
];
$response = $agent->merchant->postData('merchant.create', $params);
```

参考
--

[](#参考)

- [河马付接入指南](https://sand.yuque.com/docs/share/f5840d84-08a3-409d-8ab9-854d30562660)

License
-------

[](#license)

MIT

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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/89fdbcf35c1928ec2a142c6c896660cc2ec0d462deed9fac41bcb795cf253b91?d=identicon)[stone009](/maintainers/stone009)

---

Top Contributors

[![stone009](https://avatars.githubusercontent.com/u/25975586?v=4)](https://github.com/stone009 "stone009 (5 commits)")

### Embed Badge

![Health badge](/badges/stone009-hmpay-agent/health.svg)

```
[![Health](https://phpackages.com/badges/stone009-hmpay-agent/health.svg)](https://phpackages.com/packages/stone009-hmpay-agent)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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