Official PHP SDK for the Blueticks API.
composer require blueticks/blueticksYou also need a PSR-18 HTTP client. Any of these will do:
composer require guzzlehttp/guzzle # most common
# or
composer require symfony/http-client
# or
composer require php-http/curl-client php-http/message<?php
require 'vendor/autoload.php';
use Blueticks\Blueticks;
$client = new Blueticks(['apiKey' => getenv('BLUETICKS_API_KEY')]);
$account = $client->account->retrieve();
echo $account->name;- PHP 8.1, 8.2, 8.3
MIT