PHPackages                             akashic/akashic-pay - 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. akashic/akashic-pay

ActiveLibrary[API Development](/categories/api)

akashic/akashic-pay
===================

A library to interact with the AkashicChain network, written in PHP.

v1.19.1(1mo ago)0157PHPPHP &gt;=7.2

Since Sep 2Pushed 1mo agoCompare

[ Source](https://github.com/akashicsuite/akashicpay-php)[ Packagist](https://packagist.org/packages/akashic/akashic-pay)[ RSS](/packages/akashic-akashic-pay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (45)Used By (0)

AkashicPay - PHP Library
========================

[](#akashicpay---php-library)

A library to interact with the AkashicChain network, written in PHP.

Installing
==========

[](#installing)

```
composer require akashic/akashic-pay
```

Usage
=====

[](#usage)

```
use Akashic\AkashicPay;
```

**Features**

- Send crypto via **Layer 1** and **Layer 2** (Akashic Chain)
- Create wallets for your users into which they can deposit crypto
- Fetch balance and transaction details
- Completely *Web3*: No login or API-key necessary. Just supply your Akashic private key, which stays on your server. The SDK signs your transactions with your key and sends them to Akashic Chain.
- Supports **Ethereum** and **Tron**

**Getting Started**

1. Create an account on AkashicLink (Google Chrome Extension or iPhone/Android App)
2. Visit [AkashicPay](https://www.akashicpay.com) and connect with AkashicLink. Set up the URL you wish to receive callbacks for.
3. Integrate the SDK in your code. This example configuration uses many optional build arguments, for illustration purposes:

```
use Akashic\AkashicPay;
use Akashic\Constants\Environment;
use Akashic\Constants\ACNode;
use Akashic\Constants\ACDevNode;

$akashicPay = new AkashicPay([
    // in development, you will use our testnet and testnet L1 chains
    'environment' => getenv('environment') === 'production' ? Environment::PRODUCTION : Environment::DEVELOPMENT,
    // optional, the SDK will try to find the fastest node if omitted
    'targetNode' => getenv('environment') === 'production' ? ACNode::SINGAPORE_1 : ACDevNode::SINGAPORE_1,
    // use whatever secret management tool you prefer to load the private key
    // from your AkashicLink account. It should be of the form:
    // `"0x2d99270559d7702eadd1c5a483d0a795566dc76c18ad9d426c932de41bfb78b7"`
    // In development, each developer could have their own, or omit this (and
    // the l2Address), in which case the SDK will create and use a new pair.
    // you can instead use your Akashic Link account's 12-word phrase, using the
    // argument `recoveryPhrase`
    'privateKey' => getenv('akashicKey'),
    // this is the address of your AkashicLink account. Of the form "AS1234..."
    'l2Address' => getenv('l2Address'),
]);
```

AkashicPay is now fully setup and ready to use.

Testing
=======

[](#testing)

You can also use AkashicPay with the AkashicChain Testnet &amp; **Sepolia**(Ethereum) and **Shasta** (Tron) testnets, useful for local development and preprod environments. To do this, no AkashicLink is necessary; you can build an AkashicPay instance as follows, and the SDK will create a "test otk" for you:

```
use Akashic\AkashicPay;
use Akashic\Constants\Environment;

$akashicPay = new AkashicPay([
    'environment' => Environment::DEVELOPMENT,
    'privateKey' => getenv('akashicTestKey'),
    // this is the address of your AkashicLink account. Of the form "AS1234..."
    'l2Address' => getenv('testL2Address'),
]);
```

You can now create an L1-wallet on a testnet:

```
use Akashic\Constants\NetworkSymbol;

$address = $akashicPay->getDepositAddress(NetworkSymbol::TRON_SHASTA, 'EndUser123');
```

Use a faucet (e.g. via the [Tron Discord](https://discord.com/invite/nSBF64yb5U)) to deposit some coin into the created wallet.

You can check to see if your balance has increased with:

```
$balances = $akashicPay->getBalance();
// -> [{networkSymbol: 'TRX-SHASTA', balance: '5000'}, ...]
```

Documentation
=============

[](#documentation)

For more in-depth documentation describing the SDKs functions in detail, explanations of terminology, and guides on how to use AkashicPay.com, see

Contributing
============

[](#contributing)

See [CONTRIBUTING.md](./CONTRIBUTING.md) for information

License
=======

[](#license)

This project is licensed under the [MIT](./LICENSE) License

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance89

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~13 days

Recently: every ~42 days

Total

44

Last Release

54d ago

Major Versions

v0.0.11 → v1.0.02024-10-15

PHP version history (3 changes)v0.0.1PHP \*

v0.0.3PHP &gt;=7.4

v1.3.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/99fc64683ec1ba12ccb1a3a50b49d921d6c2b2b1a4e81339fc7f0a8e11042fa0?d=identicon)[akashicpay](/maintainers/akashicpay)

---

Top Contributors

[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (98 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/akashic-akashic-pay/health.svg)

```
[![Health](https://phpackages.com/badges/akashic-akashic-pay/health.svg)](https://phpackages.com/packages/akashic-akashic-pay)
```

###  Alternatives

[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

129.7k5](/packages/hardcastle-xrpl-php)

PHPackages © 2026

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