{"repo":"tigusigalpa/telegram-wallet-php","free":true,"listed":false,"github":"https://github.com/tigusigalpa/telegram-wallet-php","clone":"git clone https://github.com/tigusigalpa/telegram-wallet-php.git","description":"PHP SDK for Telegram Wallet Pay API v1.2.0. Accept crypto payments (TON, USDT, BTC, NOT) in your Telegram bot. First-class Laravel support with Service Provider, Facade & Middleware. Secure webhook verification, typed DTOs, and comprehensive error handling. Works standalone or with Laravel 9-13.","language":"PHP","stars":16,"topics":["bitcoin","bitcoin-wallet","chainlink","cryptocurrency","laravel","near-protocol","php","telegram","telegram-wallet","ton"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Telegram Wallet Pay PHP SDK Accept crypto payments in your PHP app or Laravel project. This SDK wraps the Telegram Wallet Pay API, letting your users pay with TON, USDT, BTC, and NOT — right inside Telegram. 📖 Full documentation available on Wiki Why This Package? Building a Telegram bot with payments? We've got you covered: - Laravel-first — Service Provider, Facade, Middleware out of the box - Works anywhere — Use standalone in any PHP 8.1+ project - Secure webhooks — HMAC-SHA256 signature verification built-in - Type-safe — Modern PHP with enums, DTOs, and typed exceptions - Tested — Comprehensive test suite you can trust Installation Install via Composer: Requirements - PHP 8.1 or higher - ext-json extension - Laravel 9.x, 10.x, 11.x, 12.x, or 13.x (optional, for Laravel integration) Quick Start Here's how simple it is to create a payment: With Laravel Using Laravel? It's even cleaner with the Facade: Handling Webhooks When a payment succeeds (or fails), Wallet Pay will notify your server: Configuration The defaults work great for most cases. Here's how to customize if needed: Laravel Configuration Publish the configuration file: Edit config/walletpay.php : Add to your .env : API Reference Here's everything you can do with the client: Method What it does --------------------------------- ------------------------------------- createOrder($request) Create a new payment order getOrderPreview($orderId) Check order status getOrderList($offset, $count) List orders (paginated, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tigusigalpa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tigusigalpa/telegram-wallet-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}