PHP code example of jithinjose2 / websocket

1. Go to this page and download the library: Download jithinjose2/websocket library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jithinjose2 / websocket example snippets


JithinJose2\WebSocket\ServiceProvider::class
shell
php artisan vendor:publish
shell
php artisan websocket:serve
shell
php artisan websocket:work