PHPackages                             vipszx/ant-blockchain - 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. vipszx/ant-blockchain

ActiveLibrary

vipszx/ant-blockchain
=====================

蚂蚁区块链php sdk

1.0.6(4y ago)6296MITPHPPHP &gt;=7.0

Since May 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vipszx/antBlockchain)[ Packagist](https://packagist.org/packages/vipszx/ant-blockchain)[ RSS](/packages/vipszx-ant-blockchain/feed)WikiDiscussions master Synced today

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

### 注意

[](#注意)

HTTP 方式接入不支持非托管链账户，请使用官方 Java SDK 或 Go SDK

### install

[](#install)

```
composer require "vipszx/antBlockchain"

```

### usage

[](#usage)

```
use vipszx\antBlockchain\client;

$client = new client([
            'accessId' => 'accessId',
            'privateKey' => './access.key',
            'bizId' => 'a00e36c5',
            'tenantId' => 'tenantId',
            'gas' => 1000000,
        ]);

//存证
$clinet->deposit($orderId, $content, $account, $mykmsKeyId, $gas = null);

//异步调用 Solidity 合约
$client->callSolidityContract($orderId, $account, $mykmsKeyId, $contractName, $methodSignature, $inputParamListStr, $outTypes, $gas = null);

//查询交易
$this->queryTransaction($hash);

//查询交易回执
$this->queryReceipt($hash);

//查询账户
$client->queryAccount($account);

//解析合约返回值
$content = bin2hex(base64_decode($output));
$client->parseOutput($content, $abi, $type);

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

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

Recently: every ~175 days

Total

6

Last Release

1462d ago

PHP version history (2 changes)1.0.0PHP ^7.0

1.0.6PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a8e7bf4fb55d0dcf421bf7836722da16c697660fe8d89f49c473f448714f914?d=identicon)[vipszx](/maintainers/vipszx)

---

Top Contributors

[![vipszx](https://avatars.githubusercontent.com/u/9191143?v=4)](https://github.com/vipszx "vipszx (11 commits)")

### Embed Badge

![Health badge](/badges/vipszx-ant-blockchain/health.svg)

```
[![Health](https://phpackages.com/badges/vipszx-ant-blockchain/health.svg)](https://phpackages.com/packages/vipszx-ant-blockchain)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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