PHP code example of lyignore / websocket-upload

1. Go to this page and download the library: Download lyignore/websocket-upload 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/ */

    

lyignore / websocket-upload example snippets

angular2html
php artisan vendor:publish --tag=swoole-upload-img

成功后.\config\文件夹下生成swoole.php文件,自定义配置信息
angularjs
php artisan swoole: start