PHPackages                             gmajor/sr25519-bindings - 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. gmajor/sr25519-bindings

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

gmajor/sr25519-bindings
=======================

sr25519 bindings

v1.0.0(3y ago)217.3k↓51.9%33MITGoPHP &gt;=8.0

Since Feb 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/gmajor-encrypt/sr25519-bindings)[ Packagist](https://packagist.org/packages/gmajor/sr25519-bindings)[ RSS](/packages/gmajor-sr25519-bindings/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (3)

sr25519-bindings
================

[](#sr25519-bindings)

PHP bindings for the GOLANG implementation of the sr25519 cryptography library

Reference to

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

[](#installation)

```
composer require gmajor/sr25519-bindings
```

Building
--------

[](#building)

### Requirement

[](#requirement)

1. PHP 7 &gt;= 7.4.0, PHP 8 FFI support
2. GOLANG (&gt;1.15)

### Build

[](#build)

```
cd go && go build -buildmode=c-shared -o sr25519.so . && mv sr25519.so ../src/Crypto/sr25519.so
```

Basic Usage
-----------

[](#basic-usage)

### Autoloading

[](#autoloading)

Codec supports `PSR-4` autoloaders.

```
