silverorange/net_notifier

This package is abandoned and no longer maintained. No replacement package was suggested.

An asynchronous notification system using WebSockets

Package info

github.com/silverorange/Net_Notifier

pkg:composer/silverorange/net_notifier

Statistics

Installs: 11 632

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2022-06-20 15:50 UTC

Requires

Requires (Dev)

None

Suggests

  • ext-pnctl: Allows UNIX signals to stop the server.

Provides

None

Conflicts

None

Replaces

None

LGPL-2.1 557de4c7e1b3dac8992e4ab7579beb6e91a1d83b

  • Michael Gauthier <mike.woop@silverorange.com>

websocketnotificationWebSockets

This package is not auto-updated.

Last update: 2024-11-23 15:53:08 UTC


README

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.

Server

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.

Usage:
 net-notifier-server [options]

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