【文件属性】:
文件名称:phpque:Disque 的 PHP 客户端
文件大小:15KB
文件格式:ZIP
更新时间:2021-06-08 20:22:43
php disque PHP
phpque
轻量级、快速的 PHP 客户端,无需外部依赖支持 PHP 5.3、5.4、5.5、5.6 和 HHVM。
安装
composer require s12v/phpque
用法
<?php
use Phpque \ Client ;
use Phpque \ Connection \ ConnectionException ;
require '../vendor/autoload.php' ;
try {
// Connect to a server pool
$ client = new Client ([ 'tcp://127.0.0.1:7711' , 'tcp://127.0.0.1:7712' ]);
// ... or to a single server
$ client = new Client ( 'tcp://127.
【文件预览】:
phpque-master
----composer.json(567B)
----.travis.yml(244B)
----Vagrantfile(115B)
----phpunit.xml(407B)
----example()
--------job.php(614B)
----tests()
--------UnitTests()
--------IntegrationTests()
----LICENSE(1KB)
----src()
--------Resp()
--------Dto()
--------Mapper()
--------ClientInterface.php(3KB)
--------Client.php(7KB)
--------Connection()
--------Exception()
----.gitignore(57B)
----.travis()
--------start-disque.sh(120B)
----README.md(1KB)