PHPackages                             james.xue/esign-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. james.xue/esign-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

james.xue/esign-sdk
===================

esign

v1.2.0(3y ago)36PHPPHP &gt;=7.1

Since Nov 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xiaoxuan6/ESignSDK)[ Packagist](https://packagist.org/packages/james.xue/esign-sdk)[ Fund](https://xiaoxuan6.github.io/images/donate/alipayimg.jpg)[ Fund](https://xiaoxuan6.github.io/images/donate/wechatpayimg.png)[ RSS](/packages/jamesxue-esign-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

E签宝·开放平台 认证服务 SDK
=================

[](#e签宝开放平台-认证服务-sdk)

[接口文档](https://open.esign.cn/doc/opendoc/identity_service/shiming)

Usage
=====

[](#usage)

配置信息

```
$config = [
    'mode' => 'dev', // dev:测试(默认) prod:正式
    'app_id' => 'xxx',
    'app_key' => 'xxx',
    'client' => [
        'verify' => false,
        'timeout' => 10,
    ],
    'middlewares' => [
        'log' => \Vinhson\EsignSdk\Kernel\Middlewares\LogMiddleware::class,
    ],
    /**
    * 日志配置信息
    */
    'log_enable' => true,
    'log_path' => __DIR__ . '/../../access.log',
    'log_max' => 7 // 日志保留天数
];

$app = new Vinhson\EsignSdk\Application($config);

```

容器中变量对应的类
=========

[](#容器中变量对应的类)

```
* @property OCR\Client $ocr ocr识别能力
* @property Enterprise\Client $enterprise 信息查询
* @property Info\Client $info 信息对比能力
* @property AuthFlow\Client $auth 认证流程查询
* @property Account\Client $account 用户认证服务

```

OCD 检测
======

[](#ocd-检测)

```
$app->ocr->idCard('xxxx', '')

```

tests
=====

[](#tests)

```
composer test

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~14 days

Total

3

Last Release

1304d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f8fdd2069c7594101452a5c802ae01209a31109d67a9299a67320752c30a1de?d=identicon)[xiaoxuan6](/maintainers/xiaoxuan6)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jamesxue-esign-sdk/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[oat-sa/tao-core

TAO core extension

66143.7k121](/packages/oat-sa-tao-core)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k42](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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