manifest / integrations / wp-amqp-producer
WP AMQP Producer
A WordPress plugin for emitting AMQP messages for post create, update, and delete events.
by OutisNemo · github.com/outisnemo/wp-amqp-producer · website
★ 2stars
15release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/outisnemo/wp-amqp-producer/releases/download/v1.0.0-alpha/wp-amqp-producer-v1.0.0-alpha.zipFrom the readme
WP AMQP Producer
A tiny WordPress plugin for emitting AMQP messages when a post is created, updated or deleted. The affected posts can be filtered by posttype property. It's been tested against RabbitMQ.
Requirements
This plugin utilizes the php-amqplib library which uses the bcmath and sockets PHP extension, so make sure these are available on your system. During the development we tested with WordPress 5.2.2 running on PHP 7.2 version.
Usage
This plugin has no graphical interface at all, the configuration options are taken from wp-config.php file. To get quickly started add the following lines to your config file and make sure that your RabbitMQ server is running and the configured exchange will be created automatically:
Then upload the plugin in zip format (download here) or upload the files manually into /wp-contents/plugin/wp-amqp-producer directory and activate in the admin panel.
Now you can test the plugin by updating/creating any post and check if a message is emitted successfully.
Configuration options
| Name | Description
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0-alpha | Aug 22, 2019 | wp-amqp-producer-v1.0.0-alpha.zip | 15 |