codeigniter4-websocket icon indicating copy to clipboard operation
codeigniter4-websocket copied to clipboard

Codeigniter 4 Websocket Built for real-time application

Results 11 codeigniter4-websocket issues
Sort by recently updated
recently updated
newest added

public function _event($datas = null) { // Here you can do everyting you want, each time message is received echo 'Hey ! I\'m an EVENT callback' . PHP_EOL; } This...

how to send message to user if use php?

I am trying to install the library with Composer but I get the following error"[InvalidArgumentException] Could not find a version of package takielias/codeigniter4-websocket matching your minimum-stability (stable). Requ ire it...

Argument 1 passed to Takielias\CodeigniterWebsocket\Libraries\Server::onMessage() must be an instance of Ratchet\ConnectionInterface, instance of WebSocket\Client given, called in E:\vh\go-to-astro\app\Controllers\ChatW.php on line 32

Call to undefined method Takielias\CodeigniterWebsocket\Libraries\CodeigniterWebsocket::set_callback() at APPPATH\Controllers\Websocket.php:29

How can I associate it to a controller that, when interacting with the controller, sends messages to all clients?

Hi, I am using my application deployed using cpanel apache. How do I implement Websocket using apache or some other service and not via spark

Hi, I am unable to start the WebSocket server.. An uncaught Exception was encountered Type: Error Message: Class 'Libraries\Server' not found Filename: /home/codeigniter/app/Libraries/CodeigniterWebsocket.php Line Number: 89 Backtrace: -31 - /home/codeigniter/app/Controllers/Websocket.php::run...

An error has occurred: Undefined property: Takielias\CodeigniterWebsocket\Libraries\CodeigniterWebsocket::$jwt_key I had to modify vendor/takielias/codeigniter4-websocket/src/Libraries/CodeigniterWebsocket.php. And add ![Capture d’écran 2024-03-12 à 14 33 27](https://github.com/takielias/codeigniter4-websocket/assets/88531037/97bdffb8-0090-4d6e-a584-f1f1bb58a977) But I do not think it's the good solution...

Can you show what it would be like to send a message to the client directly from another controller? Something like that `