Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Pheanstalk 5.3 Laravel Package

mrpoundsign/pheanstalk-5.3

PHP 5.3+ fork of Pheanstalk, a pure-PHP client for the beanstalkd work queue. Supports beanstalkd up to 1.4 and implements the full beanstalkd 1.3 protocol commands/responses. Includes unit tests and sample producer/worker usage.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy System Modernization: Integrate a PHP 5.3-compatible queueing system into older Laravel applications (pre-Laravel 5.5) to avoid costly refactoring or migration delays.
  • Background Job Processing: Enable asynchronous task execution (e.g., email queues, report generation, or API calls) in environments where modern Laravel queue drivers (e.g., Redis, database) are unavailable or incompatible.
  • Cost-Effective Scalability: Deploy lightweight, self-hosted queueing (beanstalkd) to reduce cloud service costs for low-to-medium workloads.
  • Roadmap Flexibility: Adopt a "build vs. buy" approach for teams prioritizing control over queueing infrastructure (e.g., custom job prioritization, delayed jobs, or burst handling).
  • Use Cases:
    • Legacy Laravel 4.x apps migrating to newer versions incrementally.
    • Microservices with PHP 5.3 dependencies requiring queueing.
    • Edge cases where Redis/memory constraints prohibit other drivers.

When to Consider This Package

  • Adopt When:

    • Your stack is PHP 5.3+ (e.g., Laravel ≤4.x, custom PHP apps).
    • You need a lightweight, self-hosted queue (beanstalkd) with minimal dependencies.
    • Your team lacks resources to maintain a custom queue solution or integrate modern drivers.
    • You require protocol-level control over job prioritization, delays, or TTR (time-to-run).
    • Budget constraints rule out managed services (e.g., AWS SQS, RabbitMQ).
  • Look Elsewhere When:

    • Using Laravel 5.5+: Native queue drivers (Redis, database, SQS) are better supported.
    • Need high availability/clustering: beanstalkd lacks built-in redundancy.
    • Require advanced features: Dead-letter queues, distributed tracing, or horizontal scaling.
    • Team has PHP 7.4+: Modern alternatives (e.g., php-enqueue/beanstalk) exist.
    • Security/compliance mandates managed services (e.g., HIPAA, GDPR).

How to Pitch It (Stakeholders)

For Executives: "This package lets us deploy a lightweight, self-hosted job queue (beanstalkd) for PHP 5.3 apps—like our legacy Laravel 4.x systems—without upgrading infrastructure. It’s MIT-licensed, battle-tested since 2008, and avoids vendor lock-in. For ~$0.04/month in hosting (vs. $50+/month for managed queues), we gain async processing for critical tasks like email delivery or report generation. Risk is low: it’s a drop-in replacement for custom queue logic, and the MIT license aligns with our open-source policy."

For Engineering: *"Pheanstalk is a PHP 5.3 client for beanstalkd, a simple, fast work queue. Key benefits:

  • No external dependencies: Pure PHP, no Redis/AMQP setup.
  • Protocol-complete: Supports all beanstalkd 1.3/1.4 commands (prioritization, delays, etc.).
  • Battle-tested: Used in production since 2008, with 100+ unit tests.
  • Lightweight: ~1MB footprint; ideal for low-resource environments. Trade-offs:
  • No Laravel-specific helpers (manual job handling required).
  • Single-server only (no clustering). Use case: Perfect for legacy systems or greenfield projects where we control the queue infrastructure. Example: Replace a custom cron-based system with async jobs for a cost savings of ~90%."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony