“beyondcode/laravel-websockets” 包未安装在 Laravel 10.8 框架上。

huangapple go评论52阅读模式
英文:

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

https://youtu.be/8RL584c7EsI

huangapple
  • 本文由 发表于 2023年5月13日 17:50:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/76242090.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定