PHPackages                             kilvn/geth-jsonrpc-php-client - 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. kilvn/geth-jsonrpc-php-client

ActiveLibrary

kilvn/geth-jsonrpc-php-client
=============================

API client lib for communication with geth (go-ethereum) node.

4.0.2(5y ago)043MITPHPPHP &gt;= 7.4

Since Apr 3Pushed 5y agoCompare

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

READMEChangelog (2)Dependencies (6)Versions (7)Used By (0)

[![Downloads this Month](https://camo.githubusercontent.com/b2811d18e2e32929ac1b99d8039674b0a31a946f4e3ebaa20cf0f19a37a05949/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f61636873652f676574682d6a736f6e7270632d7068702d636c69656e742e737667)](https://packagist.org/packages/achse/geth-jsonrpc-php-client)[![Latest Stable Version](https://camo.githubusercontent.com/17c14194a6ac50d1eaae83355b43e01c03566e0d8736528242995e812fffa643/68747470733a2f2f706f7365722e707567782e6f72672f61636873652f676574682d6a736f6e7270632d7068702d636c69656e742f762f737461626c65)](https://github.com/achse/geth-jsonrpc-php-client/releases)[![Build Status](https://camo.githubusercontent.com/4ac9badfe2fc90d7f5e64f66a2310cd651ca2ea61464692a8cf8b0fd6b5a7bc1/68747470733a2f2f7472617669732d63692e6f72672f41636873652f676574682d6a736f6e7270632d7068702d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Achse/geth-jsonrpc-php-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/16efde2a4beac89413e93d3a27765928d420873593378e8b6099e66a4882bfe9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f41636873652f676574682d6a736f6e7270632d7068702d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Achse/geth-jsonrpc-php-client/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/fdcd3128b0475d6bc7b71964e23f7a20d36a7610fdbf0e11ab61cb26d88dcad1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f41636873652f676574682d6a736f6e7270632d7068702d636c69656e742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Achse/geth-jsonrpc-php-client?branch=master)

Introduction
============

[](#introduction)

This API client lib is used to communicate with `geth` (go-ethereum) node.

Last Updated: 01/04/2018 (works perfect with last geth-1.7.3-4bb3c89d).

Via this client lib you can easily run operation on the node such is:

- Get account balance,
- sign transactions,
- deploy transactions,
- ...

Full documentation of all methods that can be run on `geth` node are described here:

Fork
====

[](#fork)

update guzzlehttp/guzzle to ^7.0 for laravel8

Install
=======

[](#install)

```
composer require kilvn/geth-jsonrpc-php-client

```

Usage
=====

[](#usage)

```
// Create HTTP client instance (you can use something simplier just wrap it by using IHttpClient interface)
// Create JsonRpc client which can run any operation on your geth node
$httpClient = new GuzzleClient(new GuzzleClientFactory(), 'localhost', 8545);
$client = new Client($httpClient);

// Run operation (all are described here: https://github.com/ethereum/wiki/wiki/JSON-RPC#json-rpc-methods)
$result = $client->callMethod('eth_getBalance', ['0xf99ce9c17d0b4f5dfcf663b16c95b96fd47fc8ba', 'latest']);

// $result->result ==='0x16345785d8a0000'
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% 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 ~327 days

Recently: every ~249 days

Total

6

Last Release

2048d ago

Major Versions

1.1.0 → 2.0.02018-02-09

2.0.0 → 3.0.02018-06-03

3.0.0 → 4.0.12020-09-24

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

3.0.0PHP &gt;= 7.2

4.0.1PHP &gt;= 7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16423601?v=4)[Amazing Watermelon](/maintainers/kilvn)[@kilvn](https://github.com/kilvn)

---

Top Contributors

[![SRaian](https://avatars.githubusercontent.com/u/34193589?v=4)](https://github.com/SRaian "SRaian (7 commits)")[![kilvn](https://avatars.githubusercontent.com/u/16423601?v=4)](https://github.com/kilvn "kilvn (3 commits)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kilvn-geth-jsonrpc-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/kilvn-geth-jsonrpc-php-client/health.svg)](https://phpackages.com/packages/kilvn-geth-jsonrpc-php-client)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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