hopekelldev / laravel-tatum-io
Modern Laravel SDK for selected Tatum.io APIs.
v1.0.0
2026-05-17 18:01 UTC
Requires
- php: ^8.2
- illuminate/http: ^10.0|^11.0|^12.0|^13.0
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0|^10.0|^11.0
- phpunit/phpunit: ^10.0
README
๐ 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.
- GitHub: https://github.com/HopekellDev
- Email: hopekelltech@gmail.com
โญ 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.
