From 560eacc86ad32ff59a3adddb1383b6911852f715 Mon Sep 17 00:00:00 2001 From: Benedikt Stoy Date: Mon, 4 Nov 2019 17:31:06 +0100 Subject: [PATCH 1/5] upgrade laravel support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5511056..2c175ec 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "~5.1" + "illuminate/support": "~5.1|^6.0" }, "require-dev": { "phpunit/phpunit": "~5.0", From 03cf213313ea4b6a827e16f57f804473e17b15c7 Mon Sep 17 00:00:00 2001 From: Benedikt Stoy Date: Tue, 5 Nov 2019 15:41:54 +0100 Subject: [PATCH 2/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2c175ec..e4a5bbb 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "torann/laravel-meta-tags", + "name": "howsy/laravel-meta-tags", "keywords": ["meta tags", "meta", "tags", "head", "laravel"], "description": "A package to manage Header Meta Tags", "license": "MIT", From cea8329ff78d724e3189dc98e792eac264c0c2e2 Mon Sep 17 00:00:00 2001 From: Najibu Nsubuga <37807189+Najibu-noAgent@users.noreply.github.com> Date: Fri, 13 Aug 2021 11:59:00 +0100 Subject: [PATCH 3/5] use 7 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e4a5bbb..b55fab7 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "~5.1|^6.0" + "illuminate/support": "^7.0" }, "require-dev": { "phpunit/phpunit": "~5.0", From 6b5d485e2b4e726613128390f911af39b778d186 Mon Sep 17 00:00:00 2001 From: Najibu Nsubuga <37807189+Najibu-noAgent@users.noreply.github.com> Date: Fri, 3 Sep 2021 10:13:49 +0100 Subject: [PATCH 4/5] support 8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b55fab7..5e77828 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "^7.0" + "illuminate/support": "^7.0|^8.0" }, "require-dev": { "phpunit/phpunit": "~5.0", From 8ad19ad41097aeed6e4e967e80fb01fd0ac073bf Mon Sep 17 00:00:00 2001 From: Phil Robinson Date: Mon, 14 Nov 2022 11:10:03 +0000 Subject: [PATCH 5/5] Allow Laravel 9, fix param order warning --- composer.json | 4 ++-- src/Torann/LaravelMetaTags/MetaTag.php | 4 ++-- src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 5e77828..0fbb934 100644 --- a/composer.json +++ b/composer.json @@ -15,10 +15,10 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "^7.0|^8.0" + "illuminate/support": "^7.0|^8.0|^9.0" }, "require-dev": { - "phpunit/phpunit": "~5.0", + "phpunit/phpunit": "^5.0", "mockery/mockery": "^0.9.4" }, "autoload": { diff --git a/src/Torann/LaravelMetaTags/MetaTag.php b/src/Torann/LaravelMetaTags/MetaTag.php index 8446592..561c388 100644 --- a/src/Torann/LaravelMetaTags/MetaTag.php +++ b/src/Torann/LaravelMetaTags/MetaTag.php @@ -58,10 +58,10 @@ class MetaTag /** * @param \Illuminate\Http\Request $request - * @param array $config * @param string $defaultLocale + * @param array $config */ - public function __construct(Request $request, array $config = [], $defaultLocale) + public function __construct(Request $request, $defaultLocale, array $config = []) { $this->request = $request; $this->config = $config; diff --git a/src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php b/src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php index 6a794a1..2eb3e37 100644 --- a/src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php +++ b/src/Torann/LaravelMetaTags/MetaTagsServiceProvider.php @@ -36,8 +36,8 @@ public function register() $this->app->singleton('metatag', function ($app) { return new MetaTag( $app['request'], - $app['config']['meta-tags'], - $app['config']->get('app.locale') + $app['config']->get('app.locale'), + $app['config']['meta-tags'] ); }); }