Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 741 Bytes

File metadata and controls

24 lines (16 loc) · 741 Bytes

Prerequisites and installation

Requirements

  • PHP 8.1 - 8.5.
  • PCNTL extension for signal handling (optional, recommended for production use).

If ext-pcntl is not installed, workers cannot handle OS signals (such as SIGTERM/SIGINT) gracefully. In practice, without ext-pcntl, a process manager may terminate a worker at any time, which can interrupt a handler in the middle of handling a message. See Loops for details.

Installation

Install the package with Composer:

composer require yiisoft/queue

Next steps