我刚刚使用laravel-websockets库在我的laravel php应用程序上实现了web-socket。我想知道如何将它部署到heroku,因为它需要我使用命令“php artisan websockets:serve”运行另一台服务器。我已经在heroku上部署了应用程序,我只需要帮助将websocket服务器部署到Heroku。
目前,目前还不可能在Heroku上运行带有PHP应用程序的websockets服务器。
正如https://help.heroku.com/8R7OO0ZV/can-i-run-a-websockets-server-using-php-on-heroku所述,这是在谷歌上搜索"heroku websocket php"
的第一个结果。