# web3p/web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.

Repository: https://github.com/web3p/web3.php
Canonical: https://ross.abutalabs.com/products/web3php
Language: PHP
License: MIT
License Family: permissive
Topics: web3, ethereum, web3php, php, smart-contracts, hacktoberfest
Last push: 2024-07-28T10:28:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3206, "days_push": 766, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1251, forks 580 (observed 2026-08-28T04:04:08.282404+00:00)

## What it is
A PHP library providing an interface to the Ethereum blockchain via JSON-RPC, supporting HTTP, async, and WebSocket providers. It includes native ABI parsing and smart contract interaction capabilities.

## Use cases
- interact with ethereum blockchain from php
- call smart contract methods in php
- send transactions to ethereum via -rpc
- parse solidity ABI in php
- query eth node over websocket
- batch -rpc requests to ethereum node

## When to choose
- your backend is PHP and needs Ethereum JSON-RPC access
- you need ABI-based smart contract bindings in PHP
- you want sync, async, or WebSocket provider options

## When to avoid
- you need high-level DeFi tooling or contract deployment scaffolding beyond raw RPC
- your stack is JavaScript/Python where web3.js or web3.py are more mature
- you need active feature development; the project is largely in maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: rpc, serialization, sdk
- domain: blockchain, developer-tools, apis
- platform: php
- tags: ethereum, web3, smart-contracts, abi, -rpc, blockchain-client, cryptocurrency

## Member repositories
- web3p/web3.php (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.282404+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:42.260565+00:00, confidence not recorded.
  - readme: https://github.com/web3p/web3.php (fetched 2026-08-28T04:04:08.282404+00:00, sha 0eb1b805d226)
- Data as of 2026-08-30T08:39:29.467469+00:00.
