PHP code example of codeages / beanstalk-client
1. Go to this page and download the library: Download codeages/beanstalk-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
codeages / beanstalk-client example snippets
use Codeages\Beanstalk\Client;
$client = new Client([/* options */]);
$connected = $client->connect();
use Codeages\Beanstalk\Client;
use Codeages\Beanstalk\ClientProxy;
$client = new Client([/* options */]);
$client = new ClientProxy($client);
$client->connect();
$client->put(.......);