nuwber/rabbitevents

Can't install this package

Closed this issue · 1 comments

Run

composer require nuwber/rabbitevents

Then got error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for nuwber/rabbitevents ^4.3 -> satisfiable by nuwber/rabbitevents[v4.3].
    - nuwber/rabbitevents v4.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp\php\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Installation failed, reverting ./composer.json to its original content.

The package requires php-pcntl extension. https://www.php.net/manual/en/book.pcntl.php

If you're using Ubuntu you can just install it by command : sudo apt install php-pcntl