# PHP

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

```bash
composer require circular-protocol/circular-protocol-api
```

Import it in your project with:

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

$circular = new CircularProtocolAPI();
```

### Install from Repository

Clone the GitHub repository with

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

Install the required library with Compose:

```bash
composer require simplito/elliptic-php
```

Then import it in your project with:

```php
<?php

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

$circular = new CircularProtocolAPI();
```
