hushulin / maple
A trigger for maple system (php)
dev-master
2017-01-11 06:29 UTC
Requires
- php: >=5.2.0
This package is auto-updated.
Last update: 2024-10-29 04:53:12 UTC
README
这是maple框架的触发器,目前只实现了write_to_worker,具体参看maple
安装
git clone git@github.com:hushulin/maple.git
快速开始
$client = new Phptrigger('127.0.0.1' , 28000);
if ($client->connect()) {
$client->write_to_worker(['uid' => 123 , 'ax' => 456] , 2);
$client->close();
}