Download the PHP package marcio1002/discord-webhook-sdk-php without Composer
On this page you can find all versions of the php package marcio1002/discord-webhook-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download marcio1002/discord-webhook-sdk-php
More information about marcio1002/discord-webhook-sdk-php
Files in marcio1002/discord-webhook-sdk-php
Download marcio1002/discord-webhook-sdk-php
More information about marcio1002/discord-webhook-sdk-php
Files in marcio1002/discord-webhook-sdk-php
Vendor marcio1002
Package discord-webhook-sdk-php
Short Description This sdk provides a simple way to send messages by hooks in discord
License GPL-3.0-only
Package discord-webhook-sdk-php
Short Description This sdk provides a simple way to send messages by hooks in discord
License GPL-3.0-only
Please rate this library. Is it a good library?
Informations about the package discord-webhook-sdk-php
Discord Webhook PHP
installation
Constructor parameter options
Pass an array of options to the constructor, note that the webhook url is required.
param | type | description | Required |
---|---|---|---|
webhook_id | string | The webhook ID | Yes |
token | string | The webhook token | Yes |
tts | boolean | If true read message to channel members | No |
thread_id | string | Name of thread to create (requires the webhook channel to be a forum channel) | No |
Sending simple message
Changing the webhook
With the Message class you can change the name, url, define the content and create embeds
Sending embed
Sending facades class
Edit, get and delete message
When editing the message you can pass the same parameter that is passed in the sendMessage method
All versions of discord-webhook-sdk-php with dependencies
PHP Build Version
Package Version
The package marcio1002/discord-webhook-sdk-php contains the following files
Loading the files please wait ....