Closed despicableGruu closed 1 month ago
@despicableGruu
Please add the following code snap before use Web3\Web3
.
require_once "vendor/autoload.php";
@despicableGruu Please add the following code snap before
use Web3\Web3
.require_once "vendor/autoload.php";
It worked. Thanks.
Here is my composer config file.
OS: Ubuntu 22.04 (WSL) PHP version: PHP 8.1.2-1ubuntu2.19 (cli) Composer version: 2.2.6
This is my
index.php
file.I run this using
php index.php
and got error here.Please help me to fix this error.