From 6618f2c54cb294535494a771e267c4040ccfc8a1 Mon Sep 17 00:00:00 2001 From: kamel Date: Wed, 6 Sep 2017 13:13:47 +0430 Subject: [PATCH 1/2] update composer.json Add Laravel 5 Package Discovery --- composer.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/composer.json b/composer.json index fcb560b..3965b0d 100644 --- a/composer.json +++ b/composer.json @@ -29,5 +29,15 @@ "src/helpers.php" ] }, + "extra": { + "laravel": { + "providers": [ + "Morilog\\Jalali\\JalaliServiceProvider" + ] + }, + "aliases": { + "jDate": "Morilog\\Jalali\\Facades\\jDate" + } + }, "minimum-stability": "dev" } From ccf78aae21f753aa407f5a3d8aff217af19a0f4d Mon Sep 17 00:00:00 2001 From: kamel Date: Wed, 6 Sep 2017 13:17:13 +0430 Subject: [PATCH 2/2] Update composer.json --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 3965b0d..20a45bf 100644 --- a/composer.json +++ b/composer.json @@ -33,10 +33,10 @@ "laravel": { "providers": [ "Morilog\\Jalali\\JalaliServiceProvider" - ] - }, - "aliases": { - "jDate": "Morilog\\Jalali\\Facades\\jDate" + ], + "aliases": { + "jDate": "Morilog\\Jalali\\Facades\\jDate" + } } }, "minimum-stability": "dev"