Download the PHP package enlightened-dc/gearman-connection without Composer
On this page you can find all versions of the php package enlightened-dc/gearman-connection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package gearman-connection
gearman-connection
A simple and clean library to get informations from your gearman jobserver.
Minimal example usage:
require_once __DIR__ . '/../vendor/autoload.php';
use TM\Gearman as Gearman;
$connection = new Gearman\Connection();
$response = $connection->send(new Gearman\Request('status'));
// Do something with the response ...
echo $response;
Customize
If you don't use the default values:
$connection = new Gearman\Connection(
['host' => 'my.gearman.host, 'port' => 1234]
);
And if you don't want an auto-connect by default:
$connection = new Gearman\Connection(
['host' => 'my.gearman.host, 'port' => 1234],
false
);
...
$connection->connect();
...
Contributing
Please refer to CONTRIBUTING.md for information on how to contribute.
All versions of gearman-connection with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
ext-gearman Version *
ext-gearman Version *
The package enlightened-dc/gearman-connection contains the following files
Loading the files please wait ....