laravel-websockets-demo
laravel-websockets-demo copied to clipboard
Demo application to use with the Laravel WebSockets package.
pullreq
I have api which is implemented Laravel. And I want to provide real time chat all platforms web, android and ios. Can you help me please? Thanks.
It appears to me that the messages are not sent over the websocket, but using a regular POST request. I base this on the following code in `resources/js/app.js`: ``` axios.post('/messages',...
D:\xampp7.3\htdocs\laravel-websockets-demo>php artisan migrate PHP Warning: require(D:\xampp7.3\htdocs\laravel-websockets-demo/vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp7.3\htdocs\laravel-websockets-demo\artisan on line 18 Warning: require(D:\xampp7.3\htdocs\laravel-websockets-demo/vendor/autoload.php): failed to open stream: No such file or...
Although the message "user typing" appears when user is typing, it doesn't disappear when the user stops typing. is it a bug or not implemented?
I followed your steps, but keep hitting that error. Websocket is not sending my events. Am using php7.4 with laravel 5.8
There really wasn't much it took to get this updated for use with Laravel 7. I made sure to follow all of the upgrade guides and this was all that...
**web.php** ``` use Symfony\Component\Console\Output\NullOutput; use BeyondCode\LaravelWebSockets\Server\Logger\WebsocketsLogger; app()->singleton(WebsocketsLogger::class, function () { return (new WebsocketsLogger(new NullOutput()))->enable(false); }); use BeyondCode\LaravelWebSockets\Facades\WebSocketsRouter; WebSocketsRouter::webSocket('/my-websocket', \App\MyCustomWebSocketHandler::class); ``` **MyCustomWebSocketHandler** ```