PHPackages                             agorlov/discordmsg - 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. agorlov/discordmsg

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

agorlov/discordmsg
==================

Little class to send Discord message

1.0.1(7y ago)1154.6k—10%4[1 issues](https://github.com/agorlov/discordmsg/issues)MITPHPPHP &gt;=7.1.0

Since Aug 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/agorlov/discordmsg)[ Packagist](https://packagist.org/packages/agorlov/discordmsg)[ Docs](https://github.com/agorlov/discordmsg)[ RSS](/packages/agorlov-discordmsg/feed)WikiDiscussions master Synced 1mo 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`:

```
