PHPackages                             bzzhh/pezos - 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. bzzhh/pezos

Abandoned → [ziwot/pezos](/?search=ziwot%2Fpezos)Library[Utility &amp; Helpers](/categories/utility)

bzzhh/pezos
===========

Tezos library

v2.0.1(1y ago)58501MITPHPPHP ^8.1CI passing

Since Apr 1Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/ziwot/pezos)[ Packagist](https://packagist.org/packages/bzzhh/pezos)[ RSS](/packages/bzzhh-pezos/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (13)Versions (12)Used By (0)

Pezos 🌮
=======

[](#pezos-)

[![tests](https://github.com/ziwot/pezos/workflows/tests/badge.svg)](https://github.com/ziwot/pezos/workflows/tests/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/65ee38d871a75946342a79e09b298f280208d06d7fc19d7f0f3deedccb751783/68747470733a2f2f706f7365722e707567782e6f72672f7a69776f742f70657a6f732f76)](https://packagist.org/packages/ziwot/pezos)[![Total Downloads](https://camo.githubusercontent.com/c70a2bb5edd85b83f2f38cab22dad79cc7b71619e237ce6c74ea29f5c69d7551/68747470733a2f2f706f7365722e707567782e6f72672f7a69776f742f70657a6f732f646f776e6c6f616473)](https://packagist.org/packages/ziwot/pezos)[![Latest Unstable Version](https://camo.githubusercontent.com/81e8f3cc2573d7daaff794b05ff313616a9a053da80598bddcb049dc5fa66232/68747470733a2f2f706f7365722e707567782e6f72672f7a69776f742f70657a6f732f762f756e737461626c65)](https://packagist.org/packages/ziwot/pezos)[![License](https://camo.githubusercontent.com/c0f4741616e7c0a7e4f457504690d6214e764feb995c957a3b3b56e00de08d3a/68747470733a2f2f706f7365722e707567782e6f72672f7a69776f742f70657a6f732f6c6963656e7365)](https://packagist.org/packages/ziwot/pezos)[![PHP Version Require](https://camo.githubusercontent.com/53982acb4e03213d64278e6a4fd327f145bf861515220f361ab6ad1d83ee6798/68747470733a2f2f706f7365722e707567782e6f72672f7a69776f742f70657a6f732f726571756972652f706870)](https://packagist.org/packages/ziwot/pezos)

PHP lib for Tezos

`composer require ziwot/pezos`

Features
--------

[](#features)

Handles Secp256k1 and Ed25519 keys.

### Instanciate key from secret key

[](#instanciate-key-from-secret-key)

```
$key = Pezos\Keys\Key::fromBase58(
  'edskRkGanpJ2fEBdV5xjhFS6DaB5CUsGwZPuTD73VoioQYTTJJKcxJPXXa5FrjA2e8y2LKqwdXNqB9WB4yAQG3gaQTnp15LwDu',
);
$key->getPublicKey();
// "edpkvCdu6RSSe379P2ACo8rGoqNRzQRRwNmHfj1dBr4DnSTKwCNxi5"
$key->getAddress();
// "tz1PAeuxsMA76x5cnKPkWKof2iGneN3Mb1eQ"
```

### Instanciate key from public key

[](#instanciate-key-from-public-key)

```
$pubKey = Pezos\Keys\PubKey::fromBase58(
  'edpkvCdu6RSSe379P2ACo8rGoqNRzQRRwNmHfj1dBr4DnSTKwCNxi5',
);
$pubKey->getAddress();
// "tz1PAeuxsMA76x5cnKPkWKof2iGneN3Mb1eQ"
```

### Sign messages

[](#sign-messages)

```
$privKey->sign('05010000000548656c6c6f');
// edsigtxHb4HCsgf3zLLcTx4Rj23Y3CSJf8jaRXwoVHZJgSsMhzFoxKtinx2TT5FgYKprLVQ9nq8o93MCpmxaTuRB7igT9b6nZyf
```

### Verify signed messages

[](#verify-signed-messages)

```
$pubKey->verifySignature(
  'edsigtxHb4HCsgf3zLLcTx4Rj23Y3CSJf8jaRXwoVHZJgSsMhzFoxKtinx2TT5FgYKprLVQ9nq8o93MCpmxaTuRB7igT9b6nZyf',
  '05010000000548656c6c6f',
);
// true
```

### RPC

[](#rpc)

RPC clients generated with [jane](https://jane.readthedocs.io/en/latest/documentation/OpenAPI.html) are available.

The open api files are taken from [the official Tezos repo](https://gitlab.com/tezos/tezos/-/tree/master/docs/api).

Dev workflow
------------

[](#dev-workflow)

1. Launch services with `make up`
2. If possible do TDD, `make test`

Resources
---------

[](#resources)

Thanks to these libraries from which code is just translated to PHP.

-
-
-
-

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance49

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~157 days

Recently: every ~192 days

Total

11

Last Release

298d ago

Major Versions

v0.2.0 → v2.0.12025-01-01

PHP version history (3 changes)v0.1.0PHP ^7.4

v0.1.3PHP ^7.1|^8.0

v0.1.6PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/70c96c636a651cd8a9465d6f2b77f1a35a6ca07791890f09058370654b516bbb?d=identicon)[ziwot](/maintainers/ziwot)

---

Top Contributors

[![ziwot](https://avatars.githubusercontent.com/u/13657413?v=4)](https://github.com/ziwot "ziwot (84 commits)")[![intranettus](https://avatars.githubusercontent.com/u/120313008?v=4)](https://github.com/intranettus "intranettus (11 commits)")[![catsoap](https://avatars.githubusercontent.com/u/67788913?v=4)](https://github.com/catsoap "catsoap (1 commits)")

---

Tags

phptezostezos

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bzzhh-pezos/health.svg)

```
[![Health](https://phpackages.com/badges/bzzhh-pezos/health.svg)](https://phpackages.com/packages/bzzhh-pezos)
```

###  Alternatives

[web3p/ethereum-util

A collection of utility functions for Ethereum written in PHP.

30420.2k26](/packages/web3p-ethereum-util)[swentel/nostr-php

Nostr helper library for PHP

6725.9k3](/packages/swentel-nostr-php)[digitaldonkey/ecverify

A library integrating Ethereum with typed PHP.

14109.2k2](/packages/digitaldonkey-ecverify)

PHPackages © 2026

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