lyignore/websocket-upload

websocket upload img ansy receive messages

0.0.8 2019-10-22 11:10 UTC

This package is auto-updated.

Last update: 2025-05-22 23:22:26 UTC


README

websocket upload img ansy receive messages.

Installing

安装插件

$ composer require lyignore/websocket-upload -vvv

添加 ServiceProvider(laravel小于5.4的添加)

在文件夹.\config\app.php的providers数组中添加:
Lyignore\WebsocketUpload\SwooleServiceProvider::class

注册配置信息

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

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

运行websocket服务

php artisan swoole: start

Usage

TODO

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT