PHP

In this section, we will delve into the details of the Circular Protocol official PHP package.

The Circular Blockchain API suite provides a robust and efficient interface for interacting with the Circular Protocol, a decentralized and highly scalable blockchain network. These APIs enable developers to integrate, query, and execute operations on the Circular Protocol blockchain, supporting a wide range of decentralized applications (dApps), financial transactions, and smart contracts.

Install from Composer Packages

composer require circular-protocol/circular-protocol-api

Import it in your project with:

<?php
require 'vendor/autoload.php';
use CircularProtocol\Api\CircularProtocolAPI;

$circular = new CircularProtocolAPI();

Install from Repository

Clone the GitHub repository with

git clone https://github.com/circular-protocol/circular-php.git

Install the required library with Compose:

composer require simplito/elliptic-php

Then import it in your project with:

<?php

require_once __DIR__ . '/vendor/autoload.php';
require_once 'circular-php/lib/CircularProtocolAPI.php';

$circular = new CircularProtocolAPI();

Last updated