renoki-co
laravel-web3
PHP

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

Last updated Mar 6, 2026
113
Stars
33
Forks
2
Issues
0
Stars/day
Attention Score
49
Language breakdown
No language data available.
โ–ธ Files click to expand
README

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

CI codecov StyleCI Latest Stable Version Total Downloads Monthly Downloads License

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

๐Ÿค 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. ๐Ÿ“ฆ

๐Ÿš€ 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

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

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

The following methods are also available to start with:

use RenokiCo\LaravelWeb3\Web3Facade as Web3;

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

๐Ÿ› Testing

bash
vendor/bin/phpunit

๐Ÿค Contributing

Please see CONTRIBUTING for details.

๐Ÿ”’ Security

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

๐ŸŽ‰ Credits

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท renoki-co/laravel-web3 ยท Updated daily from GitHub