From d6a914aac82da43cd3cd9d10045b7808d19a1fce Mon Sep 17 00:00:00 2001 From: zilveer Date: Fri, 10 May 2019 23:01:17 +0200 Subject: [PATCH 1/5] Updated composer for support for Laravel 5.8.* Tested and updated to work with Laravel ^5.8 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index c688ce5..b803c07 100644 --- a/composer.json +++ b/composer.json @@ -18,10 +18,10 @@ } ], "require": { - "php": ">=5.4.0", - "illuminate/support": "^5.0", - "illuminate/console": "^5.0", - "predis/predis": "^1.1" + "php": "^7.1.3", + "illuminate/support": "^5.8", + "illuminate/console": "^5.8", + "predis/predis": "^2.0@dev" }, "require-dev": { "orchestra/testbench": "~3.0", From 0edd94a8e964c54c95610022b2e349316ea54383 Mon Sep 17 00:00:00 2001 From: zilveer Date: Fri, 10 May 2019 23:09:09 +0200 Subject: [PATCH 2/5] Update composer.json changing package auth name since I need the package installed. I am not the original author of this. Please see https://github.com/thatsus/laravel-redlock --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b803c07..ce2afd0 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "thatsus/laravel-redlock", + "name": "zilveer/laravel-redlock", "description": "Redis distributed locks for laravel", "license": "MIT", "keywords": ["redlock", "laravel redis lock", "redis lock"], From e946943046b8d45d17c1dce0e969ca15d633be9d Mon Sep 17 00:00:00 2001 From: zilveer Date: Fri, 10 May 2019 23:24:04 +0200 Subject: [PATCH 3/5] updated package installation updated package installation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d66b1c..99db7c6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This library was originally built by LibiChai based on the Redlock algorithm dev ### Installation -1. `composer require thatsus/laravel-redlock` +1. `composer require zilveer/laravel-redlock` 2. Add `ThatsUs\RedLock\RedLockServiceProvider::class,` to the `providers` array in config/app.php 3. Enjoy! From 8f75045f01700628f5edd74762e1af484f005938 Mon Sep 17 00:00:00 2001 From: zilveer Date: Fri, 10 May 2019 23:36:25 +0200 Subject: [PATCH 4/5] Update composer.json --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index ce2afd0..5bc284c 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,12 @@ "tests/" ] }, + "minimum-stability": "dev", + "prefer-stable": true, "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + }, "laravel": { "providers": [ "ThatsUs\\RedLock\\RedLockServiceProvider" From 19b6b2a0285b7955b62571ed3d9e749c152f734a Mon Sep 17 00:00:00 2001 From: zilveer Date: Fri, 10 May 2019 23:37:17 +0200 Subject: [PATCH 5/5] Update composer.json --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5bc284c..b5211b3 100644 --- a/composer.json +++ b/composer.json @@ -63,6 +63,5 @@ "phpunit | tee phpunit.2.log", "cat phpunit.*.log" ] - }, - "minimum-stability": "stable" + } }