diff --git a/composer.json b/composer.json index c124fcd2f..1bc926361 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "yiisoft/yii2-bootstrap4": "~2.0.6", "yiisoft/yii2-swiftmailer": "~2.1.2", "workerman/workerman": "~4.1.0", - "workerman/phpsocket.io": "~1.1.13", + "workerman/phpsocket.io": "~2.1.0", "justinvoelker/yii2-tagging": "*", "fortawesome/font-awesome": "^6.0.0", "cweagans/composer-patches": "^1.7" diff --git a/composer.lock b/composer.lock index d8ea34a78..2998ab117 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e150fa9aa5a55565c53fe3def4f737ef", + "content-hash": "c9580b676a7a2c0206dd5f7a5af74dca", "packages": [ { "name": "bower-asset/inputmask", @@ -1020,22 +1020,26 @@ }, { "name": "workerman/phpsocket.io", - "version": "v1.1.18", + "version": "v2.1.0", "source": { "type": "git", "url": "https://github.com/walkor/phpsocket.io.git", - "reference": "b89b3f2ed44f6f79fd9895e2d198b52b3fb4783b" + "reference": "c9fa2e567b889b9daf95c75434b5ce31748bceef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/walkor/phpsocket.io/zipball/b89b3f2ed44f6f79fd9895e2d198b52b3fb4783b", - "reference": "b89b3f2ed44f6f79fd9895e2d198b52b3fb4783b", + "url": "https://api.github.com/repos/walkor/phpsocket.io/zipball/c9fa2e567b889b9daf95c75434b5ce31748bceef", + "reference": "c9fa2e567b889b9daf95c75434b5ce31748bceef", "shasum": "" }, "require": { + "ext-json": "*", "workerman/channel": ">=1.0.0", "workerman/workerman": "^4.0.0" }, + "require-dev": { + "squizlabs/php_codesniffer": "^3.7" + }, "type": "library", "autoload": { "psr-4": { @@ -1046,13 +1050,21 @@ "license": [ "MIT" ], - "homepage": "http://www.workerman.net", + "description": "A server side alternative implementation of socket.io in PHP based on Workerman", + "homepage": "https://www.workerman.net", "keywords": [ - "Socket.io" + "Socket.io", + "async", + "non-blocking", + "phpsocket.io", + "server", + "sockets", + "stream", + "workerman" ], "support": { "issues": "https://github.com/walkor/phpsocket.io/issues", - "source": "https://github.com/walkor/phpsocket.io/tree/v1.1.18" + "source": "https://github.com/walkor/phpsocket.io/tree/v2.1.0" }, "funding": [ { @@ -1064,7 +1076,7 @@ "type": "patreon" } ], - "time": "2023-06-16T01:41:34+00:00" + "time": "2024-04-08T17:20:31+00:00" }, { "name": "workerman/workerman",