hopekelldev/laravel-tatum-io

Modern Laravel SDK for selected Tatum.io APIs.

Maintainers

Package info

github.com/HopekellDev/Laravel-Tatum.io

Homepage

pkg:composer/hopekelldev/laravel-tatum-io

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-05-17 18:01 UTC

This package is auto-updated.

Last update: 2026-05-17 18:11:37 UTC


README

Packagist Version PHP Version Laravel Version License: MIT Downloads Scrutinizer Code Quality Code Intelligence Status Build Status

Laravel Tatum.io Banner

๐Ÿš€ Introduction

HopekellDev Laravel Tatum.io is a modern, lightweight, and developer-friendly Laravel SDK for selected Tatum.io APIs.

Built specifically for:

  • โšก Laravel 10, 11, 12 & 13
  • ๐Ÿง  PHP 8.2+
  • โ›“ Blockchain infrastructure
  • ๐Ÿ’ฐ Virtual accounts
  • ๐Ÿช™ Smart contracts
  • ๐Ÿ”ฅ NFT & token operations
  • ๐Ÿ›ก KMS security operations
  • ๐Ÿ“ฆ Laravel auto-discovery

This package provides a clean Laravel-style fluent API structure for interacting with Tatum blockchain infrastructure.

โœจ Features

  • โœ… Laravel auto-discovery
  • โœ… Modern fluent API structure
  • โœ… Blockchain RPC support
  • โœ… NFT smart contract support
  • โœ… ERC-20 token support
  • โœ… ERC-1155 token support
  • โœ… Marketplace support
  • โœ… Auction support
  • โœ… Gas Pump support
  • โœ… Virtual Accounts support
  • โœ… Blockchain utility helpers
  • โœ… KMS security endpoints
  • โœ… Standardized API responses
  • โœ… Built-in exception handling
  • โœ… Easily extendable architecture

๐Ÿ“ฆ Installation

composer require hopekelldev/laravel-tatum-io

Publish config:

php artisan vendor:publish --tag=tatum-config

โš™๏ธ Configuration

Add your Tatum credentials to .env

TATUM_API_KEY=your_api_key
TATUM_BASE_URL=https://api.tatum.io
TATUM_TIMEOUT=30
TATUM_THROW_EXCEPTIONS=true

๐Ÿงช Quick Usage

use HopekellDev\Tatum\Facades\Tatum;

$response = Tatum::blockchainRpc()
    ->bitcoin()
    ->generateWallet();

return $response;

๐Ÿ“˜ Documentation

โ›“ Blockchain RPC

Supported chains:

  • Bitcoin
  • Ethereum
  • BNB Smart Chain
  • Polygon
  • Tron
  • Solana
  • Litecoin
  • Dogecoin
  • XRP

Bitcoin Wallet

Tatum::blockchainRpc()
    ->bitcoin()
    ->generateWallet();

Ethereum Balance

Tatum::blockchainRpc()
    ->ethereum()
    ->getBalance($address);

๐Ÿช™ Smart Contracts

NFT Minting

Tatum::smartContracts()
    ->nft()
    ->mint($data);

ERC-20 Token Transfer

Tatum::smartContracts()
    ->fungibleTokens()
    ->transfer($data);

Marketplace Listing

Tatum::smartContracts()
    ->marketplace()
    ->createListing($data);

๐Ÿฆ Virtual Accounts

Create Virtual Account

Tatum::virtualAccounts()
    ->account()
    ->create($data);

Create Customer

Tatum::virtualAccounts()
    ->customer()
    ->create($data);

Create Withdrawal

Tatum::virtualAccounts()
    ->withdrawal()
    ->create($data);

๐Ÿ”” Blockchain Notifications

Tatum::blockchainNotifications()
    ->subscriptions()
    ->all();

๐Ÿ›ก Security

KMS Sign Transaction

Tatum::security()
    ->keyManagementSystem()
    ->sign($data);

๐Ÿงฐ Utilities

Broadcast Transaction

Tatum::utils()
    ->blockchainUtils()
    ->broadcast($data);

๐Ÿ“š Covered Modules

โœ… Blockchain RPC

  • Bitcoin
  • Ethereum
  • BSC
  • Polygon
  • Tron
  • Solana
  • Litecoin
  • Dogecoin
  • XRP

โœ… Smart Contracts

  • NFT (ERC-721)
  • Fungible Tokens (ERC-20)
  • Multi Tokens (ERC-1155)
  • Marketplace
  • Auction
  • Gas Pump

โœ… Security

  • Key Management System

โœ… Virtual Accounts

  • Account
  • Transaction
  • Customer
  • Virtual Currency
  • Order Book
  • Blockchain Addresses
  • Blockchain Operations
  • Blockchain Fees
  • Deposit
  • Withdrawal

โœ… Blockchain Notifications

  • Subscriptions
  • Notifications

โœ… Utilities

  • Blockchain Utilities
  • Service Utilities

โš ๏ธ Error Handling

use HopekellDev\Tatum\Facades\Tatum;
use HopekellDev\Tatum\Exceptions\TatumException;

try {

    $wallet = Tatum::blockchainRpc()
        ->bitcoin()
        ->generateWallet();

} catch (TatumException $e) {

    return $e->getMessage();

}

๐Ÿงฑ Package Architecture

Tatum
โ”œโ”€โ”€ Services
โ”‚   โ”œโ”€โ”€ BlockchainNotifications
โ”‚   โ”œโ”€โ”€ BlockchainRpc
โ”‚   โ”œโ”€โ”€ SmartContracts
โ”‚   โ”œโ”€โ”€ Security
โ”‚   โ”œโ”€โ”€ VirtualAccounts
โ”‚   โ””โ”€โ”€ Utils
โ”œโ”€โ”€ Helpers
โ”‚   โ”œโ”€โ”€ Http Client
โ”‚   โ””โ”€โ”€ Response Formatter
โ””โ”€โ”€ Exceptions

๐Ÿค Contributing

Contributions are welcome.

You can help by:

  • Adding more Tatum endpoints
  • Improving documentation
  • Writing tests
  • Improving blockchain coverage
  • Improving developer experience

๐Ÿ”ฅ Roadmap

  • Webhook signature verification
  • Retry middleware
  • Logging support
  • Pest test suite
  • GitHub Actions CI
  • Mock responses for testing

๐Ÿ›ก License

This package is open-sourced software licensed under the MIT License.

๐Ÿ‘จโ€๐Ÿ’ป Author

HopekellDev

Building scalable fintech, blockchain, SaaS, and backend systems.

โญ Support

If this package helps you, please support it by:

  • Starring the repository
  • Sharing with Laravel developers
  • Reporting bugs
  • Suggesting improvements
  • Contributing code

Built for Laravel developers who need a clean, modern, and extendable Tatum.io SDK.