{"id":92809,"library":"iexbase-web3-php","title":"Web3 PHP","description":"Ethereum web3 interface.","status":"active","version":"2.0.1","language":"php","source_language":null,"source_url":"https://github.com/iexbase/web3.php","tags":["ethereum","web3","blockchain","crypto"],"install":[{"cmd":"composer require iexbase/web3.php","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Web3","correct":"use Web3\\Web3;"}],"quickstart":{"code":"use Web3\\Web3;\n\n$web3 = new Web3('http://localhost:8545');\n$web3->eth->blockNumber(function ($err, $data) {\n    echo $data;\n});","lang":"php","description":"Connect to an Ethereum node and fetch the latest block number."},"warnings":[{"fix":"Install PHP GMP extension (e.g., apt-get install php-gmp).","message":"Requires PHP 7.2+ and the GMP extension for cryptographic operations.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'blockchain':8 'crypto':9 'ethereum':3,6 'interfac':5 'php':2 'web3':1,4,7","created_at":"2026-06-19T09:38:29.146090+00:00","updated_at":"2026-06-19T09:38:29.146090+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/iexbase/web3.php","github":"https://github.com/iexbase/web3.php","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}