PHPackages                             ontology/ontology-php-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. ontology/ontology-php-sdk

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

ontology/ontology-php-sdk
=========================

PHP library for the Ontology blockchain.

020PHP

Since Apr 8Pushed 7y agoCompare

[ Source](https://github.com/hsiaosiyuan0/ontology-php-sdk)[ Packagist](https://packagist.org/packages/ontology/ontology-php-sdk)[ RSS](/packages/ontology-ontology-php-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK For Ontology blockchain
================================

[](#php-sdk-for-ontology-blockchain-)

Overview
--------

[](#overview)

This project is the PHP library for the Ontology blockchain.

Requirements
------------

[](#requirements)

You'd use [phpbrew](https://github.com/phpbrew/phpbrew) to smoothly switch between different PHP versions.

- PHP &gt;= 7.1.23
- [scrypt](https://github.com/DomBlack/php-scrypt)
- [libsodium-php](https://github.com/jedisct1/libsodium-php)
- Build PHP with openssl-1.1.1 which has native support for SM2 and SM3
- Build PHP with gmp, you can refer [doc/build-php.md](doc/build-php.md) to make custom build configuration
- [php-sm](https://github.com/hsiaosiyuan0/php-sm)

Install
-------

[](#install)

```
composer require ontology/ontology-php-sdk
```

Documents
---------

[](#documents)

[中文](doc/zh-CN/%E6%A6%82%E8%BF%B0.md)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.3% 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

---

Top Contributors

[![hsiaosiyuan0](https://avatars.githubusercontent.com/u/22588905?v=4)](https://github.com/hsiaosiyuan0 "hsiaosiyuan0 (36 commits)")[![xizho10](https://avatars.githubusercontent.com/u/1636858?v=4)](https://github.com/xizho10 "xizho10 (1 commits)")

### Embed Badge

![Health badge](/badges/ontology-ontology-php-sdk/health.svg)

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

###  Alternatives

[michael-rubel/laravel-couponables

This package provides polymorphic coupon functionality for your Laravel application.

19590.7k1](/packages/michael-rubel-laravel-couponables)[loadsys/cakephp_sitemap

A CakePHP Plugin for adding automatic XML and HTML Sitemaps to an app

2819.6k](/packages/loadsys-cakephp-sitemap)[mauricerenck/komments

A comment and webmention plugin for Kirby 3

501.2k1](/packages/mauricerenck-komments)[myweb/show-out-of-stock-products

Show out-of-stock product configurations for configurable products on the front end.

131.7k](/packages/myweb-show-out-of-stock-products)

PHPackages © 2026

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