Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12 from io-digital/feature/package-autodiscovery
Browse files Browse the repository at this point in the history
Add package auto discovery
  • Loading branch information
garethnic authored Jun 23, 2017
2 parents da50a7c + 2862ea3 commit d17bdd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.*",
Expand All @@ -42,6 +42,11 @@
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"laravel": {
"providers": [
"IoDigital\\Repo\\RepoServiceProvider"
]
}
}
}

0 comments on commit d17bdd2

Please sign in to comment.