PHPackages                             nozell/webhookapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nozell/webhookapi

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nozell/webhookapi
=================

A PocketMine-MP Virion to easily send messages via Discord Webhooks

v1.0.0(1y ago)26GPL-3.0-or-laterPHP

Since Oct 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ImJustNozell/DiscordWebhookAPI)[ Packagist](https://packagist.org/packages/nozell/webhookapi)[ RSS](/packages/nozell-webhookapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

\#DiscordWebhookAPI

---

🎉 Join the BlockForDevs Discord Community! 🎉
============================================

[](#-join-the-blockfordevs-discord-community-)

 [ 👉 Click Here to Join Now! 👈 ](https://discord.com/invite/NvxR2SCyQY)

---

 DiscordWebhookAPI [![](https://raw.githubusercontent.com/CortexPE/DiscordWebhookAPI/master/dwapi.png)](https://raw.githubusercontent.com/CortexPE/DiscordWebhookAPI/master/dwapi.png) [![](https://camo.githubusercontent.com/fac1fd9a454cba8f4b21afb313b5e42af1e78028697b7a25d564c130857cabda/68747470733a2f2f706f676769742e706d6d702e696f2f63692e736869656c642f436f7274657850452f446973636f7264576562686f6f6b4150492f7e)](https://camo.githubusercontent.com/fac1fd9a454cba8f4b21afb313b5e42af1e78028697b7a25d564c130857cabda/68747470733a2f2f706f676769742e706d6d702e696f2f63692e736869656c642f436f7274657850452f446973636f7264576562686f6f6b4150492f7e)
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#--discordwebhookapi------)

A PocketMine-MP Virion to easily send messages via Discord Webhooks

Una Virion para PocketMine-MP para enviar mensajes fácilmente mediante Discord Webhooks

---

🎉 Installation / Instalación
----------------------------

[](#-installation--instalación)

Installation is easy. You may get a compiled `.phar` [here](https://poggit.pmmp.io/ci/CortexPE/DiscordWebhookAPI/~) or integrate the virion itself into your plugin.
La instalación es fácil. Puedes obtener un `.phar` compilado [aquí](https://poggit.pmmp.io/ci/CortexPE/DiscordWebhookAPI/~) o integrar directamente el virion en tu plugin.

This virion is purely object-oriented. To use it, you'll need to import the `Webhook`, `Message`, and optionally, the `Embed` object (if needed).
Esta API es completamente orientada a objetos. Para usarla, deberás importar los objetos `Webhook`, `Message`, y opcionalmente, `Embed` si es necesario.

---

🛠 Basic Usage / Uso básico
--------------------------

[](#-basic-usage--uso-básico)

### Import the classes / Importar las clases

[](#import-the-classes--importar-las-clases)

To use this API in your code, you'll need to import the following classes:
Para usar esta API en tu código, necesitarás importar las siguientes clases:

```
