Jump to content
zub

Integrating RabbigMQ messenger into whmcs

Recommended Posts

Hello All

I want to know how to integrate RabbitMQ Messenger into WHMCS using php code. I have no idea where to start coding, in folder of whmcs keep the RabbitMq files

 

Thanks 

Zub

Share this post


Link to post
Share on other sites

@zub , I believe that the first step is the search for a good PHP library to base your needs. I have developed a provisioning module that integrates with the IBM MQ and a good SOAP library help me save lots of time in development.

Share this post


Link to post
Share on other sites

If there's an API, you can always use the curlCall functionality.. I'd point you to the documentation on that, but like always, WHMCS refuses to actually provide working documentation on things, and a valid way to find them.

 

Share this post


Link to post
Share on other sites
On 1/16/2018 at 3:28 PM, zub said:

Hello All

I want to know how to integrate RabbitMQ Messenger into WHMCS using php code. I have no idea where to start coding, in folder of whmcs keep the RabbitMq files

 

Thanks 

Zub

if possible you may describe what you need to do exactly so I could point you directly to what can make it possible.

anyway if there is any external software needs to communicate with WHMCS, the API would be the right place, if none of the API functions would do what you need, then you can create Addon Module to achieve what you need

Share this post


Link to post
Share on other sites

Hi,

 

There are php-amqp libraries available, you could create a RabbitMQ module which brings the AMQP code into effect, then you could issue produce()/consume() calls in the various hooks....

Share this post


Link to post
Share on other sites

Further to my last message, this library is very common as a base for a variety of AMQP implementations:  https://packagist.org/packages/php-amqplib/php-amqplib

I've just used it in a Laravel App using the following library: https://packagist.org/packages/bschmitt/laravel-amqp

Can you outline how you intend to use MQ in your app, I'm a big fan of Message Queuing so I may be able to give you more pointers :)

 

 

Sid 

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines