LaravelPackages.net
Acme Inc.
Toggle sidebar
hopekelldev/laravel-tatum-io

Modern Laravel SDK for selected Tatum.io APIs.

0
0
v1.0.0
About hopekelldev/laravel-tatum-io

hopekelldev/laravel-tatum-io is a Laravel package for modern laravel sdk for selected tatum.io apis.. It currently has 0 GitHub stars and 0 downloads on Packagist (latest version v1.0.0). Install it with composer require hopekelldev/laravel-tatum-io. Discover more Laravel packages by hopekelldev or browse all Laravel packages to compare alternatives.

Last updated

β›“ HopekellDev Laravel Tatum.io

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.

Comments