We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed8c37 commit 55532f1Copy full SHA for 55532f1
README.md
@@ -33,6 +33,19 @@ $wh
33
->send();
34
```
35
36
+### ✨ NEW: Simple Webhooks
37
+> **First** (recommended but optional): Define the `DWH_DEFAULT_URL` as environment variable
38
+
39
+```php
40
+use DiscordWebhook\SimpleWebhook;
41
42
+// with environment variable defined:
43
+SimpleWebhook::sendMessage('My simple message.');
44
45
+// without environment variable defined (or to override the already set env var):
46
+SimpleWebhook::sendMessage('My simple message.', 'https://discord.com/my/webhook/url');
47
+```
48
49
For further documentation have a look here:
50
* [Basics](docs/01_Basics.md)
51
* [Sending Files](docs/02_SendingFiles.md)
0 commit comments