Send notification from PHP application on Node.js chat event

I'm using Node.js socket.io as chat server for my main project written in PHP. All the logic of sending notifications or emails to users is in PHP project. The issue is to send notification to user when something happens in Node.js chat.

I'm thinking to it with RabbitMQ, is it a right solution for this? Or maybe will be better to write some kind of API for PHP application and use it for this worker-like task?