amphp/thread
Thread-local storage for Amp applications. Store and retrieve values scoped to the current fiber or thread, keeping state isolated across concurrent tasks and preventing leaks between async operations. A small utility for safer context handling in Amp-based PHP apps.
amphp/thread for new product work. It is archived, unmaintained, and has had no release since 2014; the package itself points to amphp/parallel as the replacement.amphp/parallel, Laravel queues/workers, Horizon, or an external worker service rather than building on an abandoned dependency.Consider it only in narrow legacy or audit scenarios:
Do not consider it for new Laravel/PHP products, long-lived services, security-sensitive workloads, supported PHP versions, or any feature requiring active maintenance. Look elsewhere by default: amphp/parallel for AMPHP-based parallelism, Laravel queues/Horizon for standard background work, and external workers/services for CPU-heavy or isolation-sensitive processing. Any adoption without an exit plan is a poor product decision.
Executive summary: amphp/thread is not a viable dependency for new product investment. It is archived, unmaintained, and has not shipped a release since 2014, and its own ecosystem directs users to amphp/parallel. Adopting it would create avoidable security, compatibility, hiring, and support risk.
Engineering summary: Treat this as a legacy dependency to contain and remove, not a concurrency solution to standardize on. For new work, use maintained Laravel-native queueing or amphp/parallel where AMPHP is already strategic. If the package is already present, inventory its usage, isolate it, and budget migration before it blocks PHP upgrades or production support. The product recommendation is do not adopt; deprecate if present; migrate to a supported alternative.
How can I help you explore Laravel packages today?