diff --git a/.idea/php.xml b/.idea/php.xml index 375d31f..14c0220 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -140,6 +140,8 @@ + + diff --git a/.idea/portal.iml b/.idea/portal.iml index 407cb44..5c0c357 100644 --- a/.idea/portal.iml +++ b/.idea/portal.iml @@ -139,6 +139,8 @@ + + diff --git a/composer.json b/composer.json index 6e50943..dbdd97b 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,14 @@ "laravel/slack-notification-channel": "^2.2", "laravel/tinker": "^2.0", "laravel/ui": "^2.0", + "predis/predis": "^1.1", "sentry/sentry-laravel": "^2.0", "vlucas/phpdotenv": "^5.2" }, "require-dev": { "facade/ignition": "^2.3.6", "fzaninotto/faker": "^1.9.1", + "laravel/envoy": "^2.4", "mockery/mockery": "^1.3.1", "nunomaduro/collision": "^5.0", "phpunit/phpunit": "^8.5", diff --git a/composer.lock b/composer.lock index 3cb5b7d..ea25101 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": "32d5c8dc4479b4dcb3acfbe92909e029", + "content-hash": "f51590b74d0410ad1c177d6a310f09f0", "packages": [ { "name": "asm89/stack-cors", @@ -3359,6 +3359,85 @@ ], "time": "2020-12-17T05:42:04+00:00" }, + { + "name": "predis/predis", + "version": "v1.1.6", + "source": { + "type": "git", + "url": "https://github.com/predis/predis.git", + "reference": "9930e933c67446962997b05201c69c2319bf26de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/predis/predis/zipball/9930e933c67446962997b05201c69c2319bf26de", + "reference": "9930e933c67446962997b05201c69c2319bf26de", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "require-dev": { + "cweagans/composer-patches": "^1.6", + "phpunit/phpunit": "~4.8" + }, + "suggest": { + "ext-curl": "Allows access to Webdis when paired with phpiredis", + "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" + }, + "type": "library", + "extra": { + "composer-exit-on-patch-failure": true, + "patches": { + "phpunit/phpunit-mock-objects": { + "Fix PHP 7 and 8 compatibility": "./tests/phpunit_mock_objects.patch" + }, + "phpunit/phpunit": { + "Fix PHP 7 compatibility": "./tests/phpunit_php7.patch", + "Fix PHP 8 compatibility": "./tests/phpunit_php8.patch" + } + } + }, + "autoload": { + "psr-4": { + "Predis\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniele Alessandri", + "email": "suppakilla@gmail.com", + "homepage": "http://clorophilla.net", + "role": "Creator & Maintainer" + }, + { + "name": "Till Krüss", + "homepage": "https://till.im", + "role": "Maintainer" + } + ], + "description": "Flexible and feature-complete Redis client for PHP and HHVM", + "homepage": "http://github.com/predis/predis", + "keywords": [ + "nosql", + "predis", + "redis" + ], + "support": { + "issues": "https://github.com/predis/predis/issues", + "source": "https://github.com/predis/predis/tree/v1.1.6" + }, + "funding": [ + { + "url": "https://github.com/sponsors/tillkruss", + "type": "github" + } + ], + "time": "2020-09-11T19:18:05+00:00" + }, { "name": "psr/container", "version": "1.0.0", @@ -7512,6 +7591,68 @@ }, "time": "2020-07-09T08:09:16+00:00" }, + { + "name": "laravel/envoy", + "version": "v2.4.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/envoy.git", + "reference": "b1e2ac55c94f99458b80254209a93ad8155e4c99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/envoy/zipball/b1e2ac55c94f99458b80254209a93ad8155e4c99", + "reference": "b1e2ac55c94f99458b80254209a93ad8155e4c99", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^6.0|^7.0", + "illuminate/support": "^6.0|^7.0|^8.0", + "php": "^7.2|^8.0", + "symfony/console": "^4.3|^5.0", + "symfony/process": "^4.3|^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.0|^9.0" + }, + "suggest": { + "ext-posix": "Required to determine the System user on Unix systems." + }, + "bin": [ + "bin/envoy" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\Envoy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Elegant SSH tasks for PHP.", + "keywords": [ + "laravel", + "ssh" + ], + "support": { + "issues": "https://github.com/laravel/envoy/issues", + "source": "https://github.com/laravel/envoy/tree/v2.4.0" + }, + "time": "2020-11-03T15:40:27+00:00" + }, { "name": "mockery/mockery", "version": "1.4.2", diff --git a/config/database.php b/config/database.php index b42d9b3..199382d 100644 --- a/config/database.php +++ b/config/database.php @@ -130,16 +130,16 @@ return [ 'url' => env('REDIS_URL'), 'host' => env('REDIS_HOST', '127.0.0.1'), 'password' => env('REDIS_PASSWORD', null), - 'port' => env('REDIS_PORT', '6379'), - 'database' => env('REDIS_DB', '0'), + 'port' => env('REDIS_PORT', 6379), + 'database' => env('REDIS_DB', 0), ], 'cache' => [ 'url' => env('REDIS_URL'), 'host' => env('REDIS_HOST', '127.0.0.1'), 'password' => env('REDIS_PASSWORD', null), - 'port' => env('REDIS_PORT', '6379'), - 'database' => env('REDIS_CACHE_DB', '1'), + 'port' => env('REDIS_PORT', 6379), + 'database' => env('REDIS_CACHE_DB', 1), ], ],