From 56e0c4e629efb1781a13eedfd74465879c883229 Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Tue, 7 May 2019 05:37:18 +0100 Subject: [PATCH 1/6] chore(identify): Bump Illuminate support to 5.7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7d2290f..ebb42bb 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=7.1.3", - "illuminate/support": "~5.3.0|~5.4.0|~5.5.0|~5.6.0", + "illuminate/support": "~5.6.0|~5.7.0", "sinergi/browser-detector": "6.1.*" }, "require-dev": { From bdf4eb634d4318ef8d2ea297be9c381eaa3457b1 Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Tue, 7 May 2019 05:47:37 +0100 Subject: [PATCH 2/6] chore(identify): Bump Illuminate Support to 5.8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ebb42bb..4b10046 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=7.1.3", - "illuminate/support": "~5.6.0|~5.7.0", + "illuminate/support": "~5.7.0|~5.8.0", "sinergi/browser-detector": "6.1.*" }, "require-dev": { From 0a86df9c28f561b0228f0908948f9d9a77a41b5b Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Tue, 7 May 2019 06:09:16 +0100 Subject: [PATCH 3/6] fix(identify): Make setUp method compatible with PHPUnit TestCase --- tests/IdentifyServiceProviderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/IdentifyServiceProviderTest.php b/tests/IdentifyServiceProviderTest.php index 87155c0..7b3f19d 100644 --- a/tests/IdentifyServiceProviderTest.php +++ b/tests/IdentifyServiceProviderTest.php @@ -19,7 +19,7 @@ class IdentifyServiceProviderTest extends TestCase */ protected $provider; - protected function setUp() + protected function setUp(): void { parent::setUp(); $this->mockApp = m::mock('\Illuminate\Contracts\Foundation\Application'); From 0effb4c3782e97d92f5e9f17dc337918a98f075b Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Tue, 7 May 2019 06:15:44 +0100 Subject: [PATCH 4/6] fix(identify): Make setUp compatible with PHPUnit Testcase in IdentifyTest --- tests/IdentifyTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/IdentifyTest.php b/tests/IdentifyTest.php index fbf8f81..805a058 100644 --- a/tests/IdentifyTest.php +++ b/tests/IdentifyTest.php @@ -15,7 +15,7 @@ class IdentifyTest extends TestCase */ protected $identify; - protected function setUp() + protected function setUp() : void { parent::setUp(); $this->identify = new Identify(); From 252abc1fe72b2e8087c671b8e6f95e477f297e12 Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Tue, 7 May 2019 06:28:38 +0100 Subject: [PATCH 5/6] chore(readme): Improve readme --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1f80fdb..c21caff 100644 --- a/README.md +++ b/README.md @@ -12,17 +12,18 @@ ## Installation -[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required. +[PHP](https://php.net) 7.1+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required. To get the latest version of Laravel Identify, simply add the following line to the require block of your `composer.json` file. ``` -"unicodeveloper/laravel-identify": "1.1.*" +"unicodeveloper/laravel-identify": "1.7.*" ``` You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated. -Once Laravel Identify is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key. +- If you're on Laravel 5.5 or above, that's all you need to do! Check out the usage examples below. +- If you're on Laravel < 5.5, you'll need to register the service provider once the package is installed. Open up `config/app.php` and add the following to the `providers` array: * `Unicodeveloper\Identify\IdentifyServiceProvider::class` From a26418754f5ca45913bc9e03df56fedfdeb5ea61 Mon Sep 17 00:00:00 2001 From: unicodeveloper Date: Tue, 7 May 2019 06:33:34 +0100 Subject: [PATCH 6/6] chore(changelog): Add release notes --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11e5ee5..ceaf876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,5 +2,13 @@ All Notable changes to `laravel-identify` will be documented in this file -## 2015-11-04 -- Initial release \ No newline at end of file +## Jan 19, 2016 +- Initial release + +## May 6, 2019 +- Add support for Laravel 5.3, 5.4 +- Bump Browser Detector to v6 + +## May 7, 2019 +- Add support for Laravel 5.5, 5.6, 5.7 and 5.8 +- Add support for Laravel auto package discovery \ No newline at end of file