GithubHelp home page GithubHelp logo

wp-rabbitmq-connector's Introduction

WordPress RabbitMQ Connector

The WP RabbitMQ Connector WordPress Plugin enables seamless integration between your WordPress website and RabbitMQ messaging services.

Features

  • Establishes a connection between WordPress and RabbitMQ.
  • Provides functions and hooks to utilize RabbitMQ functionalities in themes or other plugins.
  • Options page in the WordPress admin panel to set RabbitMQ credentials.

Installation

  1. Clone or download this repository.
  2. Upload the wp-rabbitmq-connector directory to the wp-content/plugins/ directory of your WordPress installation.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

Usage

Setting RabbitMQ Credentials

  1. After activation, navigate to the 'RabbitMQ' section in the WordPress admin panel.
  2. Enter your RabbitMQ username, password, Port and IP address.
  3. Click 'Save Settings' to store the RabbitMQ credentials.

Accessing RabbitMQ Functions and Hooks

Use the following code to access the RabbitMQ connector instance and utilize its functionalities:

$rabbitmq_connector = WP_RabbitMQ_Plugin::get_instance()->get_rabbitmq_connector();

// Publish a message
$rabbitmq_connector->publish_message('Hello Buddy!', 'buddy_message_queue');

// Consume messages
$rabbitmq_connector->consume_messages('buddy_message_queue', function ($msg) {
    // Handle received messages
});

Support

For any issues, feature requests, or questions, please submit an issue on GitHub.

Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request.

wp-rabbitmq-connector's People

Contributors

imokech avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.