PHPackages                             axguowen/nowpay-sdk-php - 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. axguowen/nowpay-sdk-php

ActiveLibrary[API Development](/categories/api)

axguowen/nowpay-sdk-php
=======================

Nowpay SDK for PHP

019PHP

Since Apr 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/axguowen/nowpay-sdk-php)[ Packagist](https://packagist.org/packages/axguowen/nowpay-sdk-php)[ RSS](/packages/axguowen-nowpay-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Nowpay SDK for PHP
==================

[](#nowpay-sdk-for-php)

一个基于PHP的Nowpay SDK

安装
--

[](#安装)

```
composer require axguowen/nowpay-sdk-php

```

使用
--

[](#使用)

```
use axguowen\Nowpay;

// 配置参数
$config = [
    // appid
    'appid' => 'OP00000003',
    // 商户证书序列号
    'appkey' => '00dfba8194c41b84cf',
];

// 创建微信H5支付服务
$wepayH5 = \axguowen\Nowpay::service('wepayH5', $config);
// 订单创建
$orderCreateResult = $wepayH5->orderCreate('order10102032033', 1599, '订单标题', [
    'notifyUrl' => 'http://xxx.xxx.com/notify',
    'frontNotifyUrl' => 'http://xxx.xxx.com/notify',
]);
// 打印创建结果
var_dump($orderCreateResult);
```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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/5bb2b3388238042a25cf42dc44e5ff84adc241510354abae9e91573556753205?d=identicon)[axguowen](/maintainers/axguowen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/axguowen-nowpay-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/axguowen-nowpay-sdk-php/health.svg)](https://phpackages.com/packages/axguowen-nowpay-sdk-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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