httd1 / printmethods
Json response to Telegram Webhook
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/httd1/printmethods
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-09-14 16:47:49 UTC
README
You may use this package with httd1/TelegramPhp
Installation
composer require httd1/PrintMethods
Example
use PrintMethods\PrintMethods; // Simulate sending a message PrintMethods::sendMessage([ 'chat_id' => 123456789, 'text' => 'Hello, world!' ]);
Output:
{ "method": "sendMessage", "chat_id": 123456789, "text": "Hello, world!" }