Skip to content

LYignore/websocket-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websocket-upload

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages