Registry / networking / sc0vu-web3-php

sc0vu-web3-php

JSON →
library0.1.4phppackagistunverified

Ethereum web3 interface for interacting with the Ethereum blockchain.

composer require sc0vu/web3.php
INSTALL
IMPORT
SIG · SC0VU-WEB3-PHP
S
sc0vu-web3-php
networkingphpv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Web3
✓ use Web3\Web3;

Connects to an Ethereum node and retrieves the client version.

use Web3\Web3; $web3 = new Web3('http://localhost:8545'); $web3->clientVersion(function ($err, $version) { if ($err !== null) { echo 'Error: ' . $err->getMessage(); return; } echo 'Client version: ' . $version; });
Debug
Known issues
gotchaRequires an Ethereum node (e.g., Geth) running and accessible via JSON-RPC.
fix
Start a local Ethereum node or connect to a remote provider like Infura.
affects: >=0.1.0
Upgrade
Version history
0.1.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
Amazon
1
Resources
sc0vu-web3-php — pip install sc0vu-web3-php · libregistry