laravel-queue-rabbitmq icon indicating copy to clipboard operation
laravel-queue-rabbitmq copied to clipboard

laravel-queue-rabbitmq with PHP 8

Open muramidaza opened this issue 2 years ago • 3 comments

Good afternoon! When you try to install the version, you get an error about incompatibility with version 8 of PHP. This happens both with version 11 of your package and with version 12.

Problem 1 - Root composer.json requires vladimir-yuldashev/laravel-queue-rabbitmq 11.0.0 -> satisfiable by vladimir-yuldashev/laravel-queue-rabbitmq[v11.0.0]. - vladimir-yuldashev/laravel-queue-rabbitmq v11.0.0 requires php ^7.3 -> your php version (8.1.7) does not satisfy that requirement.

or

Problem 1 - php-amqplib/php-amqplib[dev-master, 3.0.0-rc1, ..., v3.2.0] require ext-sockets * -> it is missing from your system. Install or enable PHP's sockets extension. - php-amqplib/php-amqplib v3.0.0 requires php ^7.0|~8.0.0 -> your php version (8.1.7) does not satisfy that requirement.

And I have no way to install PHP sockets. Is it possible to install version 11 of your package on PHP 8, it is impossible to roll back the version of PHP.

muramidaza avatar Jul 22 '22 07:07 muramidaza

same error,have you solved this problem?

huxiuhang avatar Aug 01 '22 08:08 huxiuhang

I have solved this problem ,composer update and composer require vladimir-yuldashev/laravel-queue-rabbitmq 11.3

huxiuhang avatar Aug 01 '22 08:08 huxiuhang

I have solved this problem ,composer update and composer require vladimir-yuldashev/laravel-queue-rabbitmq 11.3

huxiuhang avatar Aug 01 '22 08:08 huxiuhang

The composer output tells you the exact error, that v11 of the library does not support php 8. Resolve it by updating this library to a version which does support php 8.

Closing due to inactivity.

M-Porter avatar Jan 25 '23 18:01 M-Porter