An asynchronous notification system using WebSockets

1.0.0 2017-07-24 17:29 UTC

This package is not auto-updated.

Last update: 2020-06-26 17:24:51 UTC


Net_Notifier is a system for sending and receiving messages from PHP programs using WebSockets.

Net_Notifier provides a server for listeing and relaying notifications, a sender, which can send notifications to a server and a listener which can receive relayed notifications from a server.

An example use-case is sending order notifications when an order is placed on an e-commerce site.


Net_Notifier comes with a CLI server for receiving and relaying notifications. It has the following interface:

Service that receives and relays notifications to listening clients.

  net-notifier-server [options]

  -p port, --port=port  Optional port on which to listen for notifications.
                        If not specified, port 3000 is used.
  -v, --verbose         Sets verbosity level. Use multiples for more detail
                        (e.g. "-vv").
  -h, --help            show this help message and exit
  --version             show the program version and exit