PHPackages                             renoki-co/laravel-web3 - 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. [API Development](/categories/api)
4. /
5. renoki-co/laravel-web3

AbandonedArchivedLibrary[API Development](/categories/api)

renoki-co/laravel-web3
======================

Laravel SDK wrapper for the Web3 PHP API client that interacts with the Ethereum blockchain.

3.1.0(3y ago)1132.8k33[2 PRs](https://github.com/renoki-co/laravel-web3/pulls)Apache-2.0PHPPHP ^8.1

Since Mar 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/renoki-co/laravel-web3)[ Packagist](https://packagist.org/packages/renoki-co/laravel-web3)[ Docs](https://github.com/renoki-co/laravel-web3)[ GitHub Sponsors](https://github.com/rennokki)[ RSS](/packages/renoki-co-laravel-web3/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (4)Versions (10)Used By (0)

Laravel Web3 API Client
=======================

[](#laravel-web3-api-client)

[![CI](https://github.com/renoki-co/laravel-web3/workflows/CI/badge.svg?branch=master)](https://github.com/renoki-co/laravel-web3/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/bdaecb59c9d9ca7fecd76028e66536df6104edb2585de59b21c53ddb175539c3/68747470733a2f2f636f6465636f762e696f2f67682f72656e6f6b692d636f2f6c61726176656c2d776562332f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/renoki-co/laravel-web3/branch/master)[![StyleCI](https://camo.githubusercontent.com/decfdc7498bdebb0a00dfd5f3c0cc9d7bc49d49f8207d738180f159cdbc470d5/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3335333030373731352f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/353007715)[![Latest Stable Version](https://camo.githubusercontent.com/1177c09465b53069368f1388d023b392bb5d311dc1638fa32653b985c11a2422/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d776562332f762f737461626c65)](https://packagist.org/packages/renoki-co/laravel-web3)[![Total Downloads](https://camo.githubusercontent.com/7b1899b076c7becd83d7c4db6826d35180a71fe2d394fdbe89d16af2bd33073b/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d776562332f646f776e6c6f616473)](https://packagist.org/packages/renoki-co/laravel-web3)[![Monthly Downloads](https://camo.githubusercontent.com/bd1cbef8ff94b6faa26f3ddaf1a7844ea5bd2d0d9f0ef1182cb972f94224a507/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d776562332f642f6d6f6e74686c79)](https://packagist.org/packages/renoki-co/laravel-web3)[![License](https://camo.githubusercontent.com/644fec176203c5e7d97a2a1566078d47e9316aaf0c81ca6e8988491fc973bd76/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f6c61726176656c2d776562332f6c6963656e7365)](https://packagist.org/packages/renoki-co/laravel-web3)

Laravel Web3 is a Laravel SDK wrapper for the [Web3 PHP API client](https://github.com/web3-php/web3) that interacts with the Ethereum blockchain.

🤝 Supporting
------------

[](#-supporting)

**If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦**

[![](https://camo.githubusercontent.com/278493dcfac94c7e2dec9701e2d6c331b44b517bef39b83a4ab8c7af3fa0a2c0/68747470733a2f2f6769746875622d636f6e74656e742e73332e66722d7061722e7363772e636c6f75642f7374617469632f33342e6a7067)](https://github-content.renoki.org/github-repo/34)

🚀 Installation
--------------

[](#-installation)

You can install the package via composer:

```
composer require renoki-co/laravel-web3 --ignore-platform-reqs
```

Publish the config:

```
$ php artisan vendor:publish --provider="RenokiCo\LaravelWeb3\LaravelWeb3ServiceProvider" --tag="config"
```

🙌 Usage
-------

[](#-usage)

The client configuration can be found in the `config/web3.php` file. Each call will be made from the `\Web3\Web3` class:

```
use RenokiCo\LaravelWeb3\Web3Facade as Web3;

Web3::eth()->hashRate();
```

Multiple connections
--------------------

[](#multiple-connections)

The package supports multiple connections configurations. If you wish to select a specific one (not the default one), call `connection` before getting the cluster.

```
use RenokiCo\LaravelWeb3\Web3Facade as Web3;

Web3Facade::connection('http2')->eth()->hashRate();
```

Additional methods
------------------

[](#additional-methods)

The following methods are also available to start with:

```
use RenokiCo\LaravelWeb3\Web3Facade as Web3;

Web3::eth()->coinbase();
Web3::net()->version();
```

🐛 Testing
---------

[](#-testing)

```
vendor/bin/phpunit
```

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

🔒 Security
----------

[](#--security)

If you discover any security related issues, please email  instead of using the issue tracker.

🎉 Credits
---------

[](#-credits)

- [Alex Renoki](https://github.com/rennokki)
- [All Contributors](../../contributors)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 67.5% 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 ~79 days

Recently: every ~67 days

Total

7

Last Release

1392d ago

Major Versions

1.2.0 → 2.0.02021-12-07

2.x-dev → 3.0.02022-02-03

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

1.2.0PHP ^8.0

3.1.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21983456?v=4)[rennokki](/maintainers/rennokki)[@rennokki](https://github.com/rennokki)

---

Top Contributors

[![rennokki](https://avatars.githubusercontent.com/u/21983456?v=4)](https://github.com/rennokki "rennokki (54 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (21 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

apiblockchaincontractcontractsethethereumlaravelphpsdktokenweb3wrapperphpapicontractslaravelsdktokenwrapperethereumethweb3blockchain

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/renoki-co-laravel-web3/health.svg)

```
[![Health](https://phpackages.com/badges/renoki-co-laravel-web3/health.svg)](https://phpackages.com/packages/renoki-co-laravel-web3)
```

###  Alternatives

[php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

16553.3k1](/packages/php-tmdb-laravel)

PHPackages © 2026

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