From 90ed58cb91ffd2879549f52e99914d0565b7aece Mon Sep 17 00:00:00 2001 From: Phan An Date: Wed, 29 Aug 2018 17:41:45 +0700 Subject: [PATCH] Add pusher package --- composer.json | 2 +- composer.lock | 116 ++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 105 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 5e9497d6..3b7fc734 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "guzzlehttp/guzzle": "^6.1", "tymon/jwt-auth": "^0.5.6", "aws/aws-sdk-php-laravel": "^3.1", - "pusher/pusher-php-server": "^2.6", + "pusher/pusher-php-server": "^3.2", "predis/predis": "~1.0", "doctrine/dbal": "^2.5", "jackiedo/dotenv-editor": "^1.0", diff --git a/composer.lock b/composer.lock index c1c6bffa..69ca026a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "270ef4d72ccc97ba9ae0057f4425eb5f", + "content-hash": "b86ba223f580a260b9be10b3f8ad6856", "packages": [ { "name": "asm89/stack-cors", @@ -1593,6 +1593,88 @@ ], "time": "2018-07-02T15:55:56+00:00" }, + { + "name": "paragonie/sodium_compat", + "version": "v1.6.3", + "source": { + "type": "git", + "url": "https://github.com/paragonie/sodium_compat.git", + "reference": "7d0549c3947eaea620f4e523f42ab236cf7fd304" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/7d0549c3947eaea620f4e523f42ab236cf7fd304", + "reference": "7d0549c3947eaea620f4e523f42ab236cf7fd304", + "shasum": "" + }, + "require": { + "paragonie/random_compat": ">=1", + "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7" + }, + "require-dev": { + "phpunit/phpunit": "^3|^4|^5" + }, + "suggest": { + "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", + "ext-sodium": "PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." + }, + "type": "library", + "autoload": { + "files": [ + "autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com" + }, + { + "name": "Frank Denis", + "email": "jedisct1@pureftpd.org" + } + ], + "description": "Pure PHP implementation of libsodium; uses the PHP extension if it exists", + "keywords": [ + "Authentication", + "BLAKE2b", + "ChaCha20", + "ChaCha20-Poly1305", + "Chapoly", + "Curve25519", + "Ed25519", + "EdDSA", + "Edwards-curve Digital Signature Algorithm", + "Elliptic Curve Diffie-Hellman", + "Poly1305", + "Pure-PHP cryptography", + "RFC 7748", + "RFC 8032", + "Salpoly", + "Salsa20", + "X25519", + "XChaCha20-Poly1305", + "XSalsa20-Poly1305", + "Xchacha20", + "Xsalsa20", + "aead", + "cryptography", + "ecdh", + "elliptic curve", + "elliptic curve cryptography", + "encryption", + "libsodium", + "php", + "public-key cryptography", + "secret-key cryptography", + "side-channel resistant" + ], + "time": "2018-06-06T17:30:29+00:00" + }, { "name": "predis/predis", "version": "v1.1.1", @@ -1839,47 +1921,57 @@ }, { "name": "pusher/pusher-php-server", - "version": "2.6.4", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/pusher/pusher-http-php.git", - "reference": "2cf2ba85e7ce3250468a1c42ab7c948a7d43839d" + "reference": "4da4d208fe13fd2ff71ede5063a3456f23f38cf7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/2cf2ba85e7ce3250468a1c42ab7c948a7d43839d", - "reference": "2cf2ba85e7ce3250468a1c42ab7c948a7d43839d", + "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/4da4d208fe13fd2ff71ede5063a3456f23f38cf7", + "reference": "4da4d208fe13fd2ff71ede5063a3456f23f38cf7", "shasum": "" }, "require": { "ext-curl": "*", - "php": ">=5.2" + "paragonie/sodium_compat": "^1.6", + "php": "^5.4 || ^7.0", + "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "~4" + "phpunit/phpunit": "^4.8 || ^5.7" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, "autoload": { - "classmap": [ - "lib/" - ] + "psr-4": { + "Pusher\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Library for interacting with the Pusher REST API", - "homepage": "https://github.com/pusher/pusher-php-server", "keywords": [ "events", + "messaging", "php-pusher-server", "publish", + "push", "pusher", + "real time", + "real-time", "realtime", "rest", "trigger" ], - "time": "2017-06-06T16:41:17+00:00" + "time": "2018-08-13T14:57:32+00:00" }, { "name": "ramsey/uuid",