Download the PHP package wu/giorgio-socket without Composer
On this page you can find all versions of the php package wu/giorgio-socket. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package giorgio-socket
About Giorgio Socket
Add a socket server based on Swoole to your Laravel application.
Preview
Install
Require socket server
Publish config
Start socket server
Important Considerations
- You can customize your own business logic by implementing the interfaces under the folder
GiorgioSocket\Services\Handlers\Interfaces
. -
If you want to send a message from the server, there are two ways to do it:
-
First: Using HTTP client.
- Second:Using Listener,Redis is required. and you need to modify the
QUEUE_CONNECTION
configuration in the .env file to "redis" or another asynchronous queue driver. After making the configuration change, you should run the following command:php artisan queue:work --queue=socket-listener
, You can invoke it as shown in the following code.
-
- If you are using the
laravel/breeze
package and working with Blade templates, you can paste the following code intodashboard.blade.php
for a quick test.
License
The Giorgio Socket is open-sourced software licensed under the MIT license.
All versions of giorgio-socket with dependencies
PHP Build Version
Package Version
The package wu/giorgio-socket contains the following files
Loading the files please wait ....