PHPackages                             drcayman/huayixingguang - 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. drcayman/huayixingguang

ActiveLibrary

drcayman/huayixingguang
=======================

1.0(7y ago)039GPL-3.0+PHPPHP &gt;=5.3.3

Since Sep 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/drcayman/huayixingguang)[ Packagist](https://packagist.org/packages/drcayman/huayixingguang)[ Docs](http://blog.szwyll.com/)[ RSS](/packages/drcayman-huayixingguang/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

huayixingguang
==============

[](#huayixingguang)

123门票网

获取 单个产品调用

```
$Lite->getProducts($obj)

```

其余调用

```
$Lite->exec($obj);

```

获取产品列表

```
include_once "src/Lite.php";
include_once "src/ProductsObj/ProductsList.php";
$config = ['client_id'=>'','client_secret'=>'','url'=>''];
$obj = new \Drcayman\Huayixingguang\ProductsObj\ProductsList();
$obj->page = '1';
$lite = new \Drcayman\Huayixingguang\Lite($config);
var_dump($lite->exec($obj));

```

获取单个产品

```
include_once "src/Lite.php";
include_once "src/ProductsObj/Products.php";
$config = ['client_id'=>'','client_secret'=>'','url'=>''];
$obj = new \Drcayman\Huayixingguang\ProductsObj\Products();
$obj->id = '201795428763';
$lite = new \Drcayman\Huayixingguang\Lite($config);
var_dump($lite->getProducts($obj));

```

下单

```
include_once "src/Lite.php";
include_once "src/OrderObj/CreateOrder.php";
$config = ['client_id'=>'','client_secret'=>'','url'=>''];
$obj = new \Drcayman\Huayixingguang\OrderObj\CreateOrder();
$obj-> product_number  = '201703172489';
$obj-> partner_order_number='283773';
$obj-> idnumber ='320721199107024623';
$obj-> arrival_date ='2018-09-30';
$obj-> name='张三';
$obj-> tel='13013838820';
$obj-> line_items = [['variant_number'=>'20178974630521','quantity'=>1]];
$lite = new \Drcayman\Huayixingguang\Lite($config);
var_dump($lite->exec($obj));

```

查询订单

```
include_once "src/Lite.php";
include_once "src/OrderObj/CheckOrder.php";
$config = ['client_id'=>'','client_secret'=>'','url'=>''];
$obj = new \Drcayman\Huayixingguang\OrderObj\CheckOrder();
$obj-> order_number  = 'A8731221796';
$obj-> partner_order_number = '283773';
$lite = new \Drcayman\Huayixingguang\Lite($config);
var_dump($lite->exec($obj));

```

退款

```
include_once "src/Lite.php";
include_once "src/OrderObj/RefundOrder.php";
$config = ['client_id'=>'','client_secret'=>'','url'=>''];
$obj = new \Drcayman\Huayixingguang\OrderObj\RefundOrder();
$obj-> order_number  = 'A8731221796';
$obj-> line_items = [['variant_number'=>'20178974630521','quantity'=>1]];
$lite = new \Drcayman\Huayixingguang\Lite($config);

```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2831d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9761385?v=4)[drcayman](/maintainers/drcayman)[@drcayman](https://github.com/drcayman)

---

Tags

xmahauyixingguang

### Embed Badge

![Health badge](/badges/drcayman-huayixingguang/health.svg)

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

PHPackages © 2026

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