PHPackages                             notify-events/php - 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. notify-events/php

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

notify-events/php
=================

PHP extension to integrate your project with Notify.Events service.

1.1.1(1y ago)1653MITPHPPHP &gt;=5.5

Since May 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/notify-events/php)[ Packagist](https://packagist.org/packages/notify-events/php)[ Docs](https://github.com/notify-events/php)[ RSS](/packages/notify-events-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP client for Notify.Events
============================

[](#php-client-for-notifyevents)

A simple PHP extension that simplifies the process of integrating your project with the [Notify.Events](https://notify.events) service to send messages to your channels.

#### Instruction on another languages

[](#instruction-on-another-languages)

- [Русский](/docs/ru-RU/README.md)

Installation
============

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist notify-events/php

```

or add

```
"notify-events/php": "~1.0"

```

to the require section of your composer.json.

Usage
=====

[](#usage)

To use this extension, you need to import the Message class into your PHP script.

If you used composer for installation, it will be enough to include the autoload.php file:

```
require_once "vendor/autoload.php";
```

Otherwise, if you added the extension manually, you need to import the Message class by yourself:

```
require_once "path/to/notify-events/php/Message.php";
```

After that, you can create a message object, set the necessary parameters and send the message to the channel.

### Usage example

[](#usage-example)

```
