PHPackages                             songjian/fulusdk - 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. songjian/fulusdk

ActiveLibrary

songjian/fulusdk
================

福禄SDK

v0.0.5(3y ago)315MITPHP

Since Apr 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/songjian/fulusdk)[ Packagist](https://packagist.org/packages/songjian/fulusdk)[ Docs](https://github.com/songjian/fulusdk)[ RSS](/packages/songjian-fulusdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

福禄开放平台SDK
=========

[](#福禄开放平台sdk)

实现的调用福禄API的SDK。

福禄开放平台地址：

使用Composer安装
------------

[](#使用composer安装)

```
composer require songjian/fulusdk
```

使用沙箱环境
------

[](#使用沙箱环境)

Fulu类实例化时app\_key和app\_secret参数传任意值，实例化后调用`sandbox(true)`方法。

```
$fulu = new \Fulu\Fulu();
$fulu->sandbox(true);
$r = $fulu->orderMobileAdd('15972368779', 100, [CUSTOMER_ORDER_NO]);
```

运行PHPUnit测试
-----------

[](#运行phpunit测试)

```
vendor/bin/phpunit test/
```

示例
--

[](#示例)

### 话费充值

[](#话费充值)

```
$fulu = new \Fulu\Fulu([APP_KEY], [APP_SECRET]);
$r = $fulu->orderMobileAdd('15972368779', 100, [CUSTOMER_ORDER_NO]);
```

### 订单查询

[](#订单查询)

```
$fulu = new \Fulu\Fulu([APP_KEY], [APP_SECRET]);
$r = $fulu->orderInfoGet([CUSTOMER_ORDER_NO]);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Every ~10 days

Total

5

Last Release

1438d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/songjian-fulusdk/health.svg)

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

PHPackages © 2026

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