PHPackages                             overnic/qiyuesuo-sdk - 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. overnic/qiyuesuo-sdk

ActiveLibrary[API Development](/categories/api)

overnic/qiyuesuo-sdk
====================

qiyuesuo contract sdk

v0.2.0(7y ago)081MITPHP

Since Feb 20Pushed 7y ago2 watchersCompare

[ Source](https://github.com/overnic/qiyuesuo-sdk)[ Packagist](https://packagist.org/packages/overnic/qiyuesuo-sdk)[ RSS](/packages/overnic-qiyuesuo-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

契约锁SDK
======

[](#契约锁sdk)

配置（config）
----------

[](#配置config)

使用文件 `config/qiyuesuo.php` 作为项目启动参数，或复制文件中数组作为启动参数，参数说明详见文件注释

使用（Used）
--------

[](#使用used)

- 初始化类

```
// 初始化
$manager = new OverNick\QiYueSuo\Manager([
    // 沙箱模式，true表示对接到测试地址
    'sandbox' => true,
    'token' => '契约锁开放平台获取的token',
    'secret' => '契约锁开放平台获取的secret'，
    'client' => true
])->bootstrapHttpClient();

// 合同
// 实例指向 OverNick\QiYueSuo\Providers\Contract\Client
$manager->contract

// 认证
// 实例指向 OverNick\QiYueSuo\Providers\Auth\Client
$manager->auth
// 印章
// 实例指向 OverNick\QiYueSuo\Providers\Seal\Client
$manager->seal

/**
* 以上对象实例也可以通过数组的方式进行调用，Manager 实现了 ArrayAccess接口和使用了__get，__set方法
* $manager['auth']
* ...
*/
```

- 方法列表

> contract

1. 通过PDF创建合同（createByPdfFile）
2. 通过合同模版创建合同（createByTpl）
3. 通过html内容创建合同（createByHtml）
4. 运营方签署合同（signByPlatform）
5. 企业用户签署（signByCompany）
6. 完成合同，终止合同签署状态（complete）
7. 查看合同（find）
8. 下载合同（download）
9. 获取签署页面链接（signUrl）
10. 获取查看合同页面的链接（viewUrl）
11. 触发回调地址测试请求（testCallBack）

> auth

1. 提交认证（company）
2. 通过公司名称查询认证详情（findByCompanyName）
3. 通过认证id查询认证结果（findByAuthId）
4. 查询认证详情（find）

> seal

1. 创建企业/个人印章（createSeal）

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity52

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 ~1 days

Total

2

Last Release

2686d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a33f3d22f7c5ba81df984215eda327fe21f224f59a8a8cb404138042ec9f788?d=identicon)[overnic](/maintainers/overnic)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/overnic-qiyuesuo-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/overnic-qiyuesuo-sdk/health.svg)](https://phpackages.com/packages/overnic-qiyuesuo-sdk)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[oat-sa/tao-core

TAO core extension

66140.1k108](/packages/oat-sa-tao-core)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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