PHPackages                             m0by\_cze/dmdiscordmsg - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. m0by\_cze/dmdiscordmsg

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

m0by\_cze/dmdiscordmsg
======================

Little class to send Discord message

1.0.1(7y ago)03MITPHPPHP &gt;=7.1.0

Since Aug 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/m0bYczE/discordmsg)[ Packagist](https://packagist.org/packages/m0by_cze/dmdiscordmsg)[ Docs](https://github.com/agorlov/discordmsg)[ RSS](/packages/m0by-cze-dmdiscordmsg/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Send message to Discord (php)
=============================

[](#send-message-to-discord-php)

Very simple code to send single messages to discord channel.

This code was originally writen to send service messages about deploying my project to production.

How to Use
----------

[](#how-to-use)

### Composer

[](#composer)

Execute:

```
$ composer require agorlov/discordmsg
```

**Create** `example.php`:

```
