From 53b34c5f5f41d5b6e043a16f4a3cdd75c1a3bc74 Mon Sep 17 00:00:00 2001 From: Tristan Date: Mon, 18 Sep 2017 20:56:40 +0200 Subject: [PATCH 1/3] Laravel 5.5 package discovert --- composer.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/composer.json b/composer.json index 86bdc8e..a6038b8 100644 --- a/composer.json +++ b/composer.json @@ -35,5 +35,18 @@ "Thomaswelton\\Tests\\LaravelGravatar\\":"tests/" } }, + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "laravel": { + "providers": [ + "Thomaswelton\\LaravelGravatar\\LaravelGravatarServiceProvider" + ], + "aliases": { + "Gravatar": "Thomaswelton\\LaravelGravatar\\Facades\\Gravatar" + } + } + }, "minimum-stability":"stable" } From 7d657aff9427b3463752dc2f00477aaa474f1240 Mon Sep 17 00:00:00 2001 From: Tristan Date: Mon, 18 Sep 2017 21:01:34 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b2be283..8e1a65b 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Update your `composer.json` file to include this package as a dependency "thomaswelton/laravel-gravatar": "~1.0" ``` +> This package supports the [package discovery](https://laravel.com/docs/5.5/packages#package-discovery) functionality provided in Laravel 5.5, so registering the classes as described below is no longer necessary if you use Laravel 5.5. + Register the Gravatar service provider by adding it to the providers array in the `config/app.php` file. ```php Thomaswelton\LaravelGravatar\LaravelGravatarServiceProvider::class From 5b84729f145519dbef541ca1cb151322d2ee12cf Mon Sep 17 00:00:00 2001 From: Tristan Date: Mon, 18 Sep 2017 21:03:35 +0200 Subject: [PATCH 3/3] Update composer.json --- composer.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/composer.json b/composer.json index a6038b8..085d24c 100644 --- a/composer.json +++ b/composer.json @@ -36,9 +36,6 @@ } }, "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - }, "laravel": { "providers": [ "Thomaswelton\\LaravelGravatar\\LaravelGravatarServiceProvider"