PHPackages                             yanhe/yii2-contract - 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. yanhe/yii2-contract

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

yanhe/yii2-contract
===================

电子合约签名插件

00PHP

Since Sep 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/godyanhe/yii2-contract)[ Packagist](https://packagist.org/packages/yanhe/yii2-contract)[ RSS](/packages/yanhe-yii2-contract/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

合约签字
====

[](#合约签字)

电子合约签名插件

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yanhe/yii2-contract "*"

```

or add

```
"yanhe/yii2-contract": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```

```

params
------

[](#params)

size 签名大小 以百分比为单位

top 位置y轴 以百分比为单位

left 位置x轴 以百分比为单位

image 合约图片

url 接受合成图片流的方法

实例：

```

```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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://avatars.githubusercontent.com/u/47618178?v=4)[godyanhe](/maintainers/godyanhe)[@godyanhe](https://github.com/godyanhe)

---

Top Contributors

[![kennedyzhangj](https://avatars.githubusercontent.com/u/29242022?v=4)](https://github.com/kennedyzhangj "kennedyzhangj (8 commits)")[![godyanhe](https://avatars.githubusercontent.com/u/47618178?v=4)](https://github.com/godyanhe "godyanhe (2 commits)")

### Embed Badge

![Health badge](/badges/yanhe-yii2-contract/health.svg)

```
[![Health](https://phpackages.com/badges/yanhe-yii2-contract/health.svg)](https://phpackages.com/packages/yanhe-yii2-contract)
```

###  Alternatives

[spomky-labs/cbor-php

CBOR Encoder/Decoder for PHP

5811.7M43](/packages/spomky-labs-cbor-php)[scribu/scb-framework

A set of useful classes for faster plugin development

22393.7k](/packages/scribu-scb-framework)[friendsoftypo3/rtehtmlarea

Highly configurable RTE based on HtmlArea for TYPO3 v8.

1074.5k](/packages/friendsoftypo3-rtehtmlarea)

PHPackages © 2026

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