dev-master
9999999-dev https://github.com/SebastianPozoga/webecho-phpPHP client for webecho-service. Make possible use sockets by php. Create api to realtime communication.
MIT
The Requires
- php >=5.4
by Sebastian Pożoga
php socket webecho
PHP client for webecho-service. Make possible use sockets by php. Create api to realtime communication.
PHP client for webecho-service. Make possible use sockets by php. Create api to realtime communication. Use https://github.com/SebastianPozoga/webecho-service to serve data., (*1)
add to your composer.json, (*2)
{ //... "require": { "sebastianpozoga/webecho-php": "dev-master@dev" }, //... }
and install by composer install or update, (*3)
composer install
namespace Webecho; $config = WebechoConfig([ 'host' => 'http://loclahost:8191/' 'token' => 'your app token' ]); $webeacho = new Webecho($config);
$echo = $webeacho->echo(); $echo->setAction('action_name'); $echo->setData(array( 'message' => 'example message', 'other_data' => 'other data for action...', )); $echo->send();
https://github.com/SebastianPozoga/webecho-php-example, (*4)
PHP client for webecho-service. Make possible use sockets by php. Create api to realtime communication.
MIT
php socket webecho