Class “XRPL_PHPClientJsonRpcClient” not found

  Kiến thức lập trình

Hello valued stackoverflow community. As the title suggests I’m missing a class. I’m attempting the very first step and tutorial of the XRPL (PHP edition). Details: https://xrpl.org/docs/tutorials/php/build-apps/get-started

Install:

composer require hardcastle/xrpl_php
<?php

// Use the Composer autoloader
require __DIR__ . '/vendor/autoload.php';

// Imports 
use XRPL_PHPClientJsonRpcClient;

// Create a Client using the Testnet
$client = new JsonRpcClient("https://s.altnet.rippletest.net:51234");

However, when I run this code nothing is imported and I receive the fatal error message as per the title. Is there something I’m missing within the XRP documentation? Perhaps an additional step I missed? Do I import this class myself? Confused as I’m following the documentation to a T and there is only 2 steps (installation via composer and the above code). I have the required PHP 8.1 running and everything else is seemingly working correctly otherwise. Any assistance would be appreciated.

Recognized by PHP Collective

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT