|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 103 ||All time: 9,611 This week: 138|
This package can send messages to a Node server via sockets.
It can connect to a Node.js IPC server passing the local path of a Unix socket.
The package can also send messages to the Node.js server passing a string with the message as parameter.
The package also include the source of an example to start the server using the Node.js IPC server client.
This package provides a solution to allow a PHP application to communicate with a Node.js based application.
node-ipc client for php
node-ipc client implementation in PHP
> Author: Juraj Puchký - BABA Tumise s.r.o. <email@example.com>
> Web: http://www.baba.bj
> GIT: https://github.com/sjurajpuchky/php-node-ipc-client
I was in a situation when I need to connect to node-ipc (nodejs) server by PHP client for one project written within the Symfony framework. So I create this simple package to emit messages to my nodejs application from PHP.
HOW TO RUN
go to examples and start nodejs application from terminal
> cd examples/nodejs-ipc-server
> npm install
> node src/server.js
then go to client in separated terminal
> cd examples/client
> composer install
> php ipc-client.php
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.