英文:
beyondcode/laravel-websockets package not install on laravel 10.8 Framework
问题
"beyondcode/laravel-websockets" package 在 Laravel 10.8 框架中会导致命令提示符出现以下错误
> 无法解析您的要求为可安装的软件包集。
我已经在 composer.json 中设置了所需的设置
"require": {
"php": "^8.1",
"beyondcode/laravel-websockets": "^1.14",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.8",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8"
}
英文:
beyondcode/laravel-websockets package in the Laravel 10.8 Framework then it causes an error in the command prompt like this
> Your requirements could not be resolved to an installable set of packages.
I have set the required settings in composer.json
"require": {
"php": "^8.1",
"beyondcode/laravel-websockets": "^1.14",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.8",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8"
}
答案1
得分: 12
我认为您正在面临与beyondCode Laravel WebSocket包的版本问题。在搜索后,我找到了这个YouTube视频,它解释了如何在Laravel 10上安装beyondCode Laravel WebSocket。
YouTube链接:https://youtu.be/8RL584c7EsI
英文:
I think you are facing the version problem with beyondCode laravel websocket package I had same problem after searching I found this youtube video that explains how to install beyondcode laravel web socket on laravel 10.
composer require beyondcode/laravel-websockets -w
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论