
A PHP interface for interacting with the Ethereum blockchain and ecosystem, supporting native ABI parsing and smart contract interactions.
web3.php is a PHP library designed to facilitate interaction with the Ethereum blockchain and its ecosystem. It provides native support for ABI (Application Binary Interface) parsing, enabling developers to deploy, call, and manage smart contracts directly from PHP applications. The library supports multiple Ethereum JSON-RPC providers, including HTTP, WebSocket, and asynchronous HTTP providers, allowing flexible integration depending on the developer's environment and performance needs.
The tool is primarily aimed at PHP developers building decentralized applications (dapps), backend services, or enterprise blockchain integrations that require Ethereum blockchain connectivity. It supports common Ethereum modules such as eth, net, and personal, and offers batch request capabilities to optimize network calls. Developers can deploy contracts, estimate gas, call contract functions, and send transactions with callback-based asynchronous handling, which fits PHP's execution model.
web3.php distinguishes itself by being one of the few mature PHP SDKs for Ethereum, supporting both synchronous and asynchronous calls, and providing detailed contract interaction features including bytecode deployment and gas estimation. It integrates easily with local Ethereum nodes or remote providers and supports callback references to handle asynchronous responses in PHP's context. The project is open source under the MIT license, actively maintained, and includes CI workflows and community support via Gitter. Developers can get started quickly using Composer for installation and can run local Ethereum testnets using tools like eth-dock for development and testing.
PHP developers lack a native, comprehensive SDK to interact with Ethereum blockchain features such as smart contract deployment, ABI parsing, and JSON-RPC communication. Existing tools often focus on JavaScript or other languages, leaving PHP backend integrations cumbersome or incomplete.
Uses PHP callbacks to handle asynchronous JSON-RPC responses, fitting PHP's execution model.
Includes eth, net, and personal modules for comprehensive Ethereum node interaction.
MIT licensed with continuous integration, community chat, and contributor activity.
Developers use web3.php to connect PHP backend services to Ethereum nodes for querying blockchain data, managing accounts, and interacting with smart contracts.
Teams deploy and manage Ethereum smart contracts directly from PHP environments, including gas estimation and transaction handling.
Enterprise developers leverage web3.php to build decentralized finance (DeFi) platforms or blockchain-enabled enterprise applications using PHP stacks.
Discover trusted tools and services in the QuickNode Marketplace. Everything you need to launch faster and scale smarter.
Explore web3 competitors and apps like Web3PHP.

Crossmint is an all-in-one platform that integrates wallets, stablecoins, tokenization, and payment primitives into apps and products with easy APIs and no blockchain complexity.


Gelato provides infrastructure and SDKs to build smart wallets, gasless transactions, and custom rollups with ERC-4337 & 7702 support across 100+ chains.

Synapse is an interchain messaging protocol and cross-chain bridge enabling decentralized applications to operate across multiple blockchains.

Connext is a secure, fast modular interoperability protocol enabling cross-chain fund bridging and asynchronous Solidity development.
Magic provides enterprise-grade, non-custodial wallet infrastructure and passwordless authentication APIs for seamless Web3 onboarding and wallet management.

A comprehensive suite of APIs, SDKs, and developer tools from Coinbase to build onchain applications and integrate crypto services.
Immutable is a comprehensive blockchain platform offering a dedicated Layer 2 chain, wallet solutions, and growth tools tailored for Web3 gaming.

Implementation of ERC-4337 enabling smart contract accounts as primary user accounts on Ethereum without protocol changes.

ElkNet is a blockchain abstraction and cross-chain bridging infrastructure enabling secure, seamless asset transfers and dApp interoperability across multiple blockchains.
| Open Source | |
|---|---|
| Price (Monthly) | Free | 
| Price (Annual) | Free | 
| Messaging | N/A | 
| Support | Community support via GitHub and Gitter | 
| Analytics | 
The primary resource for web3.php is its GitHub repository, which includes installation instructions, usage examples, and community support channels. It also links to eth-dock, a Docker-based local Ethereum testnet environment useful for development and testing.
| Composability | |||
| Cross-Chain | |||
| Customizability | |||
| Developer Support | |||
| Ease of Integration | |||
| Performance |