# pheanstalk/pheanstalk

PHP client for beanstalkd queue

Repository: https://github.com/pheanstalk/pheanstalk
Canonical: https://ross.abutalabs.com/products/pheanstalk
Language: PHP
License: MIT
License Family: permissive
Last push: 2026-03-06T16:08:57+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 56, longevity 100
- inputs: {"age_days": 6532, "days_push": 180, "days_rel": 295, "gap_med": 7, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1922, forks 281 (observed 2026-08-28T04:05:55.271417+00:00)

## What it is
Pheanstalk is a fully typed PHP 8.1+ client library for the beanstalkd work queue server. It provides producer and consumer APIs for putting, reserving, releasing, and managing jobs across tubes.

## Use cases
- queue background jobs from a PHP app using beanstalkd
- build a PHP worker that reserves and processes jobs
- delay job execution with priorities and delays
- run long-running queue consumers under systemd
- retry failed jobs by releasing them back to the queue

## When to choose
- your PHP application uses beanstalkd as its job queue
- you need a strictly typed, actively maintained beanstalkd client for PHP 8.1+
- you want a pure-PHP client with no heavy dependencies

## When to avoid
- you use a different queue backend like Redis, RabbitMQ, or SQS
- your project runs on PHP below 8.1
- you need a queue server itself rather than a client

## Facets
- artifact type: library
- maturity: active
- function: message-queue, http-client, developer-tools
- domain: backend, web-development, developer-tools
- platform: php, self-hosted
- tags: beanstalkd, job-queue, work-queue, queue-client, background-jobs, worker, messaging, linux

## Member repositories
- pheanstalk/pheanstalk (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.271417+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:09:40.770465+00:00, confidence not recorded.
  - readme: https://github.com/pheanstalk/pheanstalk (fetched 2026-08-28T04:05:55.271417+00:00, sha 9ea4204d74fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
