From b990f9ce32c329f693a1a8a0dd67d5023faff92c Mon Sep 17 00:00:00 2001 From: Saeed Vaziry Date: Sun, 17 Sep 2023 18:37:59 +0200 Subject: [PATCH] remove pusher --- .env.prod | 2 +- .env.testing | 2 +- composer.json | 3 +- composer.lock | 149 +------------------------------------------------- 4 files changed, 4 insertions(+), 152 deletions(-) diff --git a/.env.prod b/.env.prod index cdd1744..fbb3b89 100755 --- a/.env.prod +++ b/.env.prod @@ -14,7 +14,7 @@ DB_DATABASE= DB_USERNAME= DB_PASSWORD= -BROADCAST_DRIVER=pusher +BROADCAST_DRIVER=null CACHE_DRIVER=file FILESYSTEM_DRIVER=local QUEUE_CONNECTION=default diff --git a/.env.testing b/.env.testing index 7a3b64e..caee8cd 100755 --- a/.env.testing +++ b/.env.testing @@ -14,7 +14,7 @@ DB_DATABASE=vito_test DB_USERNAME=root DB_PASSWORD= -BROADCAST_DRIVER=pusher +BROADCAST_DRIVER=null CACHE_DRIVER=array FILESYSTEM_DRIVER=local QUEUE_CONNECTION=database diff --git a/composer.json b/composer.json index 49baadc..6ee48af 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,7 @@ "laravel/socialite": "^5.2", "laravel/tinker": "^2.8", "livewire/livewire": "^2.12", - "phpseclib/phpseclib": "~3.0", - "pusher/pusher-php-server": "^7.2" + "phpseclib/phpseclib": "~3.0" }, "require-dev": { "fakerphp/faker": "^1.9.1", diff --git a/composer.lock b/composer.lock index ad49d9f..d91405d 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": "0f725da8271d545b318e319f7b616053", + "content-hash": "41386d67a21e3c07c635228527722815", "packages": [ { "name": "aws/aws-crt-php", @@ -3198,92 +3198,6 @@ }, "time": "2020-10-15T08:29:30+00:00" }, - { - "name": "paragonie/sodium_compat", - "version": "v1.19.0", - "source": { - "type": "git", - "url": "https://github.com/paragonie/sodium_compat.git", - "reference": "cb15e403ecbe6a6cc515f855c310eb6b1872a933" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/cb15e403ecbe6a6cc515f855c310eb6b1872a933", - "reference": "cb15e403ecbe6a6cc515f855c310eb6b1872a933", - "shasum": "" - }, - "require": { - "paragonie/random_compat": ">=1", - "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8" - }, - "require-dev": { - "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" - }, - "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" - ], - "support": { - "issues": "https://github.com/paragonie/sodium_compat/issues", - "source": "https://github.com/paragonie/sodium_compat/tree/v1.19.0" - }, - "time": "2022-09-26T03:40:35+00:00" - }, { "name": "phpoption/phpoption", "version": "1.9.1", @@ -3961,67 +3875,6 @@ }, "time": "2023-04-07T21:57:09+00:00" }, - { - "name": "pusher/pusher-php-server", - "version": "7.2.2", - "source": { - "type": "git", - "url": "https://github.com/pusher/pusher-http-php.git", - "reference": "4ace4873873b06c25cecb2dd6d9fdcbf2f20b640" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/4ace4873873b06c25cecb2dd6d9fdcbf2f20b640", - "reference": "4ace4873873b06c25cecb2dd6d9fdcbf2f20b640", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "ext-json": "*", - "guzzlehttp/guzzle": "^7.2", - "paragonie/sodium_compat": "^1.6", - "php": "^7.3|^8.0", - "psr/log": "^1.0|^2.0|^3.0" - }, - "require-dev": { - "overtrue/phplint": "^2.3", - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "psr-4": { - "Pusher\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Library for interacting with the Pusher REST API", - "keywords": [ - "events", - "messaging", - "php-pusher-server", - "publish", - "push", - "pusher", - "real time", - "real-time", - "realtime", - "rest", - "trigger" - ], - "support": { - "issues": "https://github.com/pusher/pusher-http-php/issues", - "source": "https://github.com/pusher/pusher-http-php/tree/7.2.2" - }, - "time": "2022-12-20T19:52:36+00:00" - }, { "name": "ralouphie/getallheaders", "version": "3.0.3",