A
A
Alixx2021-07-05 20:37:01
Laravel
Alixx, 2021-07-05 20:37:01

Why is laravel-websockets not installed?

Hello. Used windows 10, xampp, laravel 5.7. Laravel-websockets is not installed. Even on a newly created 5.7 project (an empty project, I created and immediately launched composer require laravel-websockets) and on a newly created 5.8 project, it gives an error:

# composer require beyondcode/laravel-websockets
Using version ^1.12 for beyondcode/laravel-websockets
./composer.json has been updated
Running composer update beyondcode/laravel-websockets
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - beyondcode/laravel-websockets[1.12.0, ..., 1.x-dev] require illuminate/broadcasting ^6.0|^7.0|^8.0 -> found illuminate/broadcasting[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires beyondcode/laravel-websockets ^1.12 -> satisfiable by beyondcode/laravel-websockets[1.12.0, 1.x-dev].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Can you tell me how to resolve this conflict? Why is there conflict even on new projects?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question