m8b / ether-binder
Set of utilities for interacting with Ethereum and it's smart contracts with PHP, with generating ABI bindings and Ethereum-related types
v0.2.1-rc
2024-10-11 11:53 UTC
Requires
- php: >=8.2
- composer-runtime-api: ^2.2
- ext-ctype: *
- ext-curl: *
- ext-gmp: *
- ext-openssl: *
- furqansiddiqui/bip39-mnemonic-php: ^0.1.7
- kornrunner/keccak: ^1.1
- nikic/php-parser: ^4.17
- simplito/elliptic-php: ^1.0
- vanilla/garden-cli: ^4.0
This package is auto-updated.
Last update: 2024-12-11 12:07:07 UTC
README
Unchain the full potential of Ethereum in PHP. Send transactions, tap into RPCs, and even generate ABI bindings just like you would with geth's abigen. Built for modern PHP 8.2!
🚀 Features
- Modern PHP: Utilizes PHP 8.2 features for cleaner, more robust code.
- ABIGen: A PHP counterpart to geth's ABIGen for contract bindings.
- Ethereum Types: Custom objects like
Hash
,Address
, and more. - RPC Support: Range of RPC methods to talk to Ethereum nodes.
- Strongly Typed: No more guessing games. Type hinting all the way.
🔧 Requirements
- PHP 8.2+
- Composer 2.2+
💾 Installation
Just use Composer. Install the beta version for now.
composer require m8b/ether-binder:v0.2.0-rc
📖 Documentation
- Quick Start: Grab code snippets from examples.
- Read About Components: Check out the docs for the full docs.
🚧 Status
Caution: The library is still in its pre-release stage. Perfect for tinkering but not ready for prime time.
Feature Board
A Note on JSON Keystore
Due to performance constraints with scrypt in PHP, JSON keystore support is a library, which requires scrypt
pecl extension.
📜 License
Mozilla Public License 2.0
Missing something? Post an issue.