diff --git a/README.md b/README.md index a4d3801..d0eb416 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This package creates scaffolding to implement the Repository pattern. ## Install +*Repo supports package auto discovery for Laravel* + `composer require io-digital/repo` Add the ServiceProvider to your config/app.php providers array: diff --git a/composer.json b/composer.json index 2cf68a9..eb306d0 100644 --- a/composer.json +++ b/composer.json @@ -13,13 +13,13 @@ "authors": [ { "name": "Gareth Nicholson", - "email": "gareth.nic@io.co.za", + "email": "gareth@io.co.za", "role": "Developer" } ], "require": { "illuminate/support": "~5.1", - "php" : "~5.5|~7.0" + "php" : "~5.6|~7.0" }, "require-dev": { "phpunit/phpunit" : "4.*", @@ -42,6 +42,11 @@ "extra": { "branch-alias": { "dev-master": "1.0-dev" + }, + "laravel": { + "providers": [ + "IoDigital\\Repo\\RepoServiceProvider" + ] } } }