PHPackages                             howrareis/helius-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. howrareis/helius-php-sdk

ActiveLibrary[API Development](/categories/api)

howrareis/helius-php-sdk
========================

Unofficial Helius PHP SDK

v0.1.0(3y ago)5341MITPHPPHP ~8.0

Since Feb 2Pushed 3y ago2 watchersCompare

[ Source](https://github.com/HowRareIs/helius-php-sdk)[ Packagist](https://packagist.org/packages/howrareis/helius-php-sdk)[ Docs](https://github.com/howrareis/helius-php-sdk)[ RSS](/packages/howrareis-helius-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Helius PHP SDK
==============

[](#helius-php-sdk)

Unofficial Helius PHP SDK is an opinionated (i.e. might not follow the same conventions as TypeScript version) port of the official [Helius SDK](https://github.com/helius-labs/helius-sdk/)

Not all features from the official SDK are implemented. Some will never be implemented, because they are not needed in PHP version of the SDK. Some missing features will be implemented in the future. This SDK will have features or conveniences that are not present in the official SDK.

Helius API is very functional and not all of its features are covered by this SDK. If you want some new features to be added / new endpoints to be handled, open an issue or create a pull request.

Consult official Helius [API docs](https://docs.helius.xyz) before using SDK to learn about methods and their limitations. In most cases SDK will not handle data validation. That's responsibility of the end user.

If you don't have Helius API key yet, you can get one [here](https://dev.helius.xyz/dashboard/app).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require howrareis/helius-php-sdk

```

Usage
-----

[](#usage)

```
use HowRareIs\HeliusPhpSdk\Helius;

$helius = new Helius(''); // replace  with your API key

```

Webhooks
--------

[](#webhooks)

Consult official Helius [API docs.](https://docs.helius.xyz) before using SDK to learn about webhooks and their limitations.

### Create webhook

[](#create-webhook)

```
$webhook_data = [
    'webhookURL' => 'https://example.com/webhook',
    'accountAddresses' => [
        Addresses::TENSOR,
        '4B4a93ekt1fmXSVkTrULaxVFHkmME82TUi5Cyc5aF7K',
    ],
    'transactionTypes' => [
        TransactionTypes::NFT_LISTING,
        TransactionTypes::NFT_CANCEL_LISTING,
    ],
    'webhookType' => WebhookType::ENHANCED,
    'authHeader' => 'someouthkey',
];
$webhook = $helius->createWebhook($webhook_data);
```

### Get all webhooks

[](#get-all-webhooks)

```
$webhooks = $helius->getAllWebhooks();
```

### Get webhook by id

[](#get-webhook-by-id)

```
$webhook = $helius->getWebhookById('11111111-1111-1111-1111-111111111111'); // replace 11111111-1111-1111-1111-111111111111 with your webhook id
```

### Edit webhook

[](#edit-webhook)

In the API call to update webhook you need to submit full data for the webhook. To make updates more convenient `editWebhook()` method will retrieve original data and overwrite only parts you have specified in the update.

```
$update = [
    'transactionTypes' => [
        TransactionTypes::NFT_MINT,
        TransactionTypes::NFT_BID,
    ],
];

$webhook = $helius->editWebhook($webhook_id, $update);
```

### Append addresses to webhook

[](#append-addresses-to-webhook)

Max 100 000 addresses can be added to the webhook. If you try to add more than that, you will get an error.

```
$webhook = $helius->appendAddressesToWebhook($webhook_id, [Addresses::HYPERSPACE]);
```

### Delete webhook

[](#delete-webhook)

```
$helius->deleteWebhook($webhook_id);
```

### Create collection webhook

[](#create-collection-webhook)

This is another convenience method. Behind the scenes it will try to fetch mintlist for the collection and will create a webhook with all NFT addresses from the mintlist.

```
$payload = [
    'webhookURL' => 'https://example.com/webhook',
    'transactionTypes' => [
        TransactionTypes::NFT_SALE
    ],
    'webhookType' => WebhookType::ENHANCED,
    'authHeader' => 'someouthkey',
];
$webhook = $helius->createCollectionWebhook(Collections::ABC, $webhook_rules);
```

### Get mintlist

[](#get-mintlist)

All mintlist retrieval methods by default will return unmodified data from API response. It will include mints and names of the NFTs. However, if you are interested only in NFT addresses you can pass second argument as true. That will extract only NFT addresses from the response and will return as one array.

```
$mintlist = $helius->getMintlist(Collections::ABC);
```

or

```
$request = [
    'verifiedCollectionAddresses' => ['SMBH3wF6baUj6JWtzYvqcKuj2XCKWDqQxzspY12xPND'],
];
$mintlist = $helius->getMintlist($request, true);
```

### Get mintlist from Collection address

[](#get-mintlist-from-collection-address)

```
$mintlist = $helius->getMintlistByCollectionAddress($colllection_addrress);
```

### Get mintlist from Creator address

[](#get-mintlist-from-creator-address)

```
$mintlist = $helius->getMintlistByCreatorAddress($creator_address, true);
```

### Get mintlist from NFT address (mint hash)

[](#get-mintlist-from-nft-address-mint-hash)

Behind the scenes SDK will first call NFT Fingerprint API to find out Creator address and Collection address. If any of the two will be found they will be used to retrieve mintlist. Collection address will have higher priority.

```
$mintlist = $helius->getMintlistFromNft($nft_mint, true);
```

### Get fingerprints for NFTs

[](#get-fingerprints-for-nfts)

You can pass one mint as a string or multiple mints as an array. Max 1000 mints per request.

```
$fingerprints = $helius->getNftFingerprints($mint_hashes);
```

If you want to extract one specific field from returned data (like activeListings) you can use second argument.

```
$active_listings = $helius->getNftFingerprints($mint_hashes, 'activeListings');
```

In response, you will get associated array with mint hashes as keys and values as requested field. If field is not found, you will get false.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/840442bd4530881bdecd49d5d8e6f8ca5d4ebf6d9026a8f26bf995da65110784?d=identicon)[SadMouse](/maintainers/SadMouse)

---

Tags

phpapisdksolanahowrareishelius-php-sdkhelius

### Embed Badge

![Health badge](/badges/howrareis-helius-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/howrareis-helius-php-sdk/health.svg)](https://phpackages.com/packages/howrareis-helius-php-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M89](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[resend/resend-laravel

Resend for Laravel

1222.7M9](/packages/resend-resend-laravel)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
