shucream0117 / discord-php
Discord client for PHP
v1.0.0
2023-01-09 20:28 UTC
Requires
- php: ^7.4.0
- ext-json: *
- guzzlehttp/guzzle: ^6.5
README
Requirement
- PHP >= 7.4.x
Installation
via composer.
$ composer require shucream0117/discord-php:1.0
Usage
$discord = new Discord('http://your-discord-incoming-webhook-url'); // send a message with mention $discord->sendText('this message will be posted']); // send a message with mention $discord->sendText('mention!!', ['12345678']);