I'm trying to install php-watcher within latest composer docker with composer require seregazhuk/php-watcher command, but getting error:
Package seregazhuk/php-watcher has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
Docker container has Composer version 2.0.11 2021-02-24 14:57:23 and PHP 8.0.3 (cli) (built: Mar 6 2021 03:28:33) ( NTS ).
I'm new to PHP and not sure what composer require --ignore-platform-reqs seregazhuk/php-watcher is doing, but after that ./vendor/bin/php-watcher app.php gives:
I'm trying to install php-watcher within latest composer docker with
composer require seregazhuk/php-watcher
command, but getting error:Docker container has
Composer version 2.0.11 2021-02-24 14:57:23
andPHP 8.0.3 (cli) (built: Mar 6 2021 03:28:33) ( NTS )
.I'm new to PHP and not sure what
composer require --ignore-platform-reqs seregazhuk/php-watcher
is doing, but after that./vendor/bin/php-watcher app.php
gives:And now
composer check-platform-reqs
outputs:Is there a way I could use
php-watcher
in such setup?