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

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

bloock/sdk
==========

Bloock SDK for PHP

v2.9.8(8mo ago)0536MITPHPPHP &gt;=7.4CI passing

Since Sep 22Pushed 8mo ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (82)Used By (0)

Bloock SDKs
===========

[](#bloock-sdks)

[![Release](https://camo.githubusercontent.com/5f2dfec1ee857b52e209fdd8d072bd213e7e93990307d1cc3ced9607713af0f5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f626c6f6f636b2f626c6f6f636b2d73646b2e737667)](https://github.com/bloock/bloock-sdk/releases)[![npm](https://camo.githubusercontent.com/fbcf1cb9df2f295547c7ebc3bc3cfbb45412365da7efe67916bcb6c2847f044f/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40626c6f6f636b2f73646b)](https://camo.githubusercontent.com/fbcf1cb9df2f295547c7ebc3bc3cfbb45412365da7efe67916bcb6c2847f044f/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40626c6f6f636b2f73646b)[![PyPI](https://camo.githubusercontent.com/88b05107b0f47b16648ca73752d52638abf2d445e4a04ab5ee35682edc224c45/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f626c6f6f636b)](https://camo.githubusercontent.com/88b05107b0f47b16648ca73752d52638abf2d445e4a04ab5ee35682edc224c45/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f626c6f6f636b)[![Maven](https://camo.githubusercontent.com/23857ad56a469c56fa1bd34caf0d2f2295d1403f323b8ca0214bb048154fd643/68747470733a2f2f696d672e736869656c64732e696f2f6d6176656e2d63656e7472616c2f762f636f6d2e626c6f6f636b2e73646b2f626c6f6f636b2d73646b3f6c6162656c3d6d6176656e)](https://camo.githubusercontent.com/23857ad56a469c56fa1bd34caf0d2f2295d1403f323b8ca0214bb048154fd643/68747470733a2f2f696d672e736869656c64732e696f2f6d6176656e2d63656e7472616c2f762f636f6d2e626c6f6f636b2e73646b2f626c6f6f636b2d73646b3f6c6162656c3d6d6176656e)[![Packagist](https://camo.githubusercontent.com/c7bf798b19dfa0880c67fa349e00749fcb570d3096033679ba46c3c1bcc10bc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c6f6f636b2f73646b)](https://camo.githubusercontent.com/c7bf798b19dfa0880c67fa349e00749fcb570d3096033679ba46c3c1bcc10bc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c6f6f636b2f73646b)[![GoDoc](https://camo.githubusercontent.com/f8f19a2bebf4ee98abaec6568a43c8e4b6581d60f47557d83a5cbe42864d56fa/68747470733a2f2f706b672e676f2e6465762f62616467652f6769746875622e636f6d2f626c6f6f636b2f626c6f6f636b2d73646b2d676f2f76323f7374617475732e737667)](https://pkg.go.dev/github.com/bloock/bloock-sdk-go/v2?tab=doc)

**BLOOCK** guarantees data integrity and authenticity in a simple, scalable, and confidential manner on top of distributed ledger technologies. Through BLOOCK, enterprises can minimize the principal risks and difficulties faced when defining, developing and managing a blockchain project.

- Easy to use
- Highly scalable
- Privacy by default
- Technologically independent
- Network interoperability
- Predictable efficient cost

**We want your feedback!** Please feel free to open a GitHub issue for suggested improvements or feature requests. If you need support, contact .

Getting started
---------------

[](#getting-started)

- For a guide about how to set up one of our SDKs, visit [Set up](https://docs.bloock.com/libraries-integrations/set-up).
- Check our full documentation at [docs.bloock.com](https://docs.bloock.com).

Support
-------

[](#support)

If you need help, you can join our Discord server where our engineering team will be happy to help you:

[![Join Discord](https://camo.githubusercontent.com/112cced489827210ffdfb15d13b8b69b50b495f0033636b3b3810e1171f90508/68747470733a2f2f646362616467652e76657263656c2e6170702f6170692f7365727665722f58774b334e5348703f636f6d706163743d74727565)](https://discord.gg/XwK3NSHp)

Language support
----------------

[](#language-support)

LanguageRequirementsSourceLinkSupportJavascriptNode: &gt;=12.20.0
NPM: &gt;=6.4.1[`Source JS`](https://github.com/bloock/bloock-sdk/tree/master/languages/js)[`Link JS`](https://www.npmjs.com/package/@bloock/sdk)✓Go1.18+[`Source Go`](https://github.com/bloock/bloock-sdk/tree/master/languages/go)[`Link Go`](https://github.com/bloock/bloock-sdk-go)✓PythonPython: &gt;= 3.7
PIP[`Source Python`](https://github.com/bloock/bloock-sdk/tree/master/languages/python)[`Link Python`](https://pypi.org/project/bloock/)✓JavaJava: &gt;= 8
 Gradle or Maven[`Source Java`](https://github.com/bloock/bloock-sdk/tree/master/languages/java)[`Link Java`](https://search.maven.org/artifact/com.bloock.sdk/bloock-sdk)✓PHPPHP: &gt;= 7.4
 ext-ffi[`Source PHP`](https://github.com/bloock/bloock-sdk/tree/master/languages/php)[`Link PHP`](https://packagist.org/packages/bloock/sdk)✓Rust---🔜OS support
----------

[](#os-support)

OSArchEnv typeSupportLinuxx86\_64gnu✓Linuxx86\_64musl✓Linuxarm64gnu-Linuxarm64musl-Windowsx86\_32mingw-Windowsx86\_32msvc-Windowsx86\_64mingw✓Windowsx86\_64msvc✓MacOSx86\_64-✓MacOSarm64-✓Concept
-------

[](#concept)

BLOOCK offers direct integrations with multiple programming languages (see [Language support](#language-support). In order to mantain a unified user experience and equivalent functionalities, we implement all functionalities in Rust (stable) and bridge each one to every language-specific SDK trough FFI.

### Architecture

[](#architecture)

To achieve interoperability between different programming languages, we use an architecture that has the following elements:

[![Architecture](https://raw.githubusercontent.com/bloock/bloock-sdk/master/docs/architecture.jpg)](https://raw.githubusercontent.com/bloock/bloock-sdk/master/docs/architecture.jpg)

- Bloock Libs: Contain specific utilities used accross different features. Such as: hashing algorithms, digital signature algorithms, encrytption algorigthms, HTTP communication, ...
- Bloock Core: Contains all the bussiness logic for every feature.
- Bloock Bridge: Implements the GRPC-like endpoints and connects them with the features implemented in the Core.
- Language-specific libraries: Contains all the interfaces for the consumer and connects with the bridge using the different endpoints available.

### Communication

[](#communication)

The communication between different languages is done by using a language-specific interoperability layer and a generic transport layer.

#### Interoperability

[](#interoperability)

Most languages have some type of ability to communicate with another language, this is called FFI (Foreign Function Interface) and usually is done by using [C](https://en.wikipedia.org/wiki/C_(programming_language)) as a base language. One of the exceptions is Javascript because browsers don't support that functionality and it's only possible to do so by using [WebAssembly](https://webassembly.org/).

To support this two cases, we chose Rust as a Core programming language because is able to compile to C and WebAssembly.

[![Interoperability](https://raw.githubusercontent.com/bloock/bloock-sdk/master/docs/interoperability.jpg)](https://raw.githubusercontent.com/bloock/bloock-sdk/master/docs/interoperability.jpg)

Finally, to give full support, we generate C builds for different OS and architectures. See [OS support](#os-support).

#### Transport

[](#transport)

In order to minimize the effort dedicated to interact with the FFI layer which, specially in C, is time consuming we use [Protocol Buffers](https://developers.google.com/protocol-buffers) and a modified [GRPC](https://grpc.io/) protocol in such a way that we define in-memory endpoints that are called by the language-specific SDKs (client) and served by the Rust Bridge (server).

[![Transport](https://raw.githubusercontent.com/bloock/bloock-sdk/master/docs/transport.png)](https://raw.githubusercontent.com/bloock/bloock-sdk/master/docs/transport.png)

License
-------

[](#license)

See [LICENSE](https://github.com/bloock/bloock-sdk/blob/master/LICENSE).

Acknowledgements
----------------

[](#acknowledgements)

[![RED.ES](https://camo.githubusercontent.com/34f45be8408f684aa1dd31c422692168b5d8269c87585def81a591d1b2ff70b2/68747470733a2f2f646f63732e626c6f6f636b2e636f6d2f6c6f676f2f6c6f676f732d72656465732e706e67)](https://camo.githubusercontent.com/34f45be8408f684aa1dd31c422692168b5d8269c87585def81a591d1b2ff70b2/68747470733a2f2f646f63732e626c6f6f636b2e636f6d2f6c6f676f2f6c6f676f732d72656465732e706e67)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance61

Regular maintenance activity

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 54.6% 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 ~18 days

Recently: every ~100 days

Total

80

Last Release

244d ago

Major Versions

1.2.3 → v2.4.1-beta.22023-02-27

PHP version history (3 changes)1.0.0PHP &gt;=7.3

1.2.0PHP &gt;=8.1

v2.4.1-beta.2PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bc33f0d282cea475886b4e87f9ee839e62019f85572db9decf44cda3a8fdcea?d=identicon)[marcbaque](/maintainers/marcbaque)

---

Top Contributors

[![edutomesco](https://avatars.githubusercontent.com/u/61798159?v=4)](https://github.com/edutomesco "edutomesco (53 commits)")[![marcbaque](https://avatars.githubusercontent.com/u/16985020?v=4)](https://github.com/marcbaque "marcbaque (39 commits)")[![uabpleb](https://avatars.githubusercontent.com/u/26046955?v=4)](https://github.com/uabpleb "uabpleb (5 commits)")

---

Tags

blockchainbloockethereumsdksdk-php

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)[google/grpc-gcp

gRPC GCP library for channel management

18497.8M3](/packages/google-grpc-gcp)[alibaba/nacos

阿里巴巴nacos配置中心php客户端

19340.8k1](/packages/alibaba-nacos)[hasanmertermis/milvus-php-client

Milvus 2 Grpc Php Client

142.1k](/packages/hasanmertermis-milvus-php-client)

PHPackages © 2026

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