install redis config

This commit is contained in:
Romulus21
2021-01-01 21:53:53 +01:00
parent 64de7981df
commit 66eb9b687b
5 changed files with 152 additions and 5 deletions

2
.idea/php.xml generated
View File

@@ -140,6 +140,8 @@
<path value="$PROJECT_DIR$/vendor/http-interop/http-factory-guzzle" />
<path value="$PROJECT_DIR$/vendor/lcobucci/clock" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-enumerator" />
<path value="$PROJECT_DIR$/vendor/laravel/envoy" />
<path value="$PROJECT_DIR$/vendor/predis/predis" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.2" />

2
.idea/portal.iml generated
View File

@@ -139,6 +139,8 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/vendor/lcobucci/clock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-enumerator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/envoy" />
<excludeFolder url="file://$MODULE_DIR$/vendor/predis/predis" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />

View File

@@ -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",

143
composer.lock generated
View File

@@ -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",

View File

@@ -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),
],
],