PHPackages                             xobotyi/beansclient - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. xobotyi/beansclient

ActiveLibrary[Queues &amp; Workers](/categories/queues)

xobotyi/beansclient
===================

PHP7.1+ client for beanstalkd work queue with no dependencies

v1.0.1(6y ago)9226.8k↓50%10[2 PRs](https://github.com/xobotyi/beansclient/pulls)MITPHPPHP &gt;=7.1

Since Mar 15Pushed 3y ago7 watchersCompare

[ Source](https://github.com/xobotyi/beansclient)[ Packagist](https://packagist.org/packages/xobotyi/beansclient)[ Docs](https://github.com/xobotyi/beansclient)[ RSS](/packages/xobotyi-beansclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (25)Used By (0)

beansclient
===========

[](#beansclient)

[![NPM Version](https://camo.githubusercontent.com/fce2fcdacff1212727a842c393de5d0860e2f2f23db12da55565989549282cb8/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f786f626f7479692f6265616e73636c69656e74)](https://packagist.org/packages/xobotyi/beansclient)[![NPM Downloads](https://camo.githubusercontent.com/4c2e647bc90f8e0bb2763a5ab3c2dac90559d331f529131694f6286080cfba51/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f786f626f7479692f6265616e73636c69656e74)](https://packagist.org/packages/xobotyi/beansclient)[![NPM Dependents](https://camo.githubusercontent.com/675160e5ee8560e1b81073e199cb7e70bc12c2e10c9c41eb9edfe241a920ea88/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f646570656e64656e74732f786f626f7479692f6265616e73636c69656e74)](https://packagist.org/packages/xobotyi/beansclient)[![Build](https://camo.githubusercontent.com/e9a4a6199cc510d509e7862f2d0b4a0f7e6ade48e930cc9cd41fded72473b0fa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f786f626f7479692f6265616e73636c69656e742f43493f7374796c653d666c61742d737175617265)](https://github.com/xobotyi/beansclient/actions)[![Coverage](https://camo.githubusercontent.com/e09f58b4db1d911a2790522473aa5cfa50995ef6b91cd37db7bec29dba83be35/68747470733a2f2f666c61742e62616467656e2e6e65742f636f6465636f762f632f6769746875622f786f626f7479692f6265616e73636c69656e74)](https://app.codecov.io/gh/xobotyi/beansclient)[![NPM Dependents](https://camo.githubusercontent.com/6c91890fb33dc62b2a32fba4ff4deae86c3a0b0e648b9dec1ac520802b4e5d0c/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f7068702f786f626f7479692f6265616e73636c69656e74)](https://packagist.org/packages/xobotyi/beansclient)[![NPM Dependents](https://camo.githubusercontent.com/6aab1e5e6efb4882c9283af1cc63756fbcaeb257c078cf11ec61cd96203ad6f7/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f786f626f7479692f6265616e73636c69656e74)](https://packagist.org/packages/xobotyi/beansclient)

About
-----

[](#about)

BeansClient is a PHP8 client for [beanstalkd work queue](https://github.com/kr/beanstalkd) with thorough unit-testing. Library uses PSR-4 autoloader standard and always has 100% tests coverage.
Library gives you a simple way to provide your own Socket implementation, in cases when you need to log requests and responses or to proxy traffic to non-standard transport.

BeansClient supports whole bunch of commands and responses specified in [protocol](https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt) for version 1.12

Why BeansClient?
----------------

[](#why-beansclient)

1. Well tested.
2. Supports UNIX sockets.
3. Actively maintained.
4. Predictable (does not throw exception in any situation, hello `pheanstalk`🤪).
5. PHP8 support.

Contents
--------

[](#contents)

1. [Requirements](#requirements)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Docs](#docs)
    - TBD

Requirements
------------

[](#requirements)

- [PHP](//php.net/) 8.0+
- [beanstalkd](//github.com/kr/beanstalkd/) 1.12+

Installation
------------

[](#installation)

Install with composer

```
composer require xobotyi/beansclient
```

Usage
-----

[](#usage)

```
