PHP code example of kentczhy / swsocket
1. Go to this page and download the library: Download kentczhy/swsocket 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/ */
kentczhy / swsocket example snippets
shell script
# add config swsocket.php and copy html test file
php artisan vendor:publish
# start server
php artisan swoole:server