Skip to content

Commit

Permalink
Support Auto-Discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
merodiro committed Jul 8, 2017
1 parent c5d57a6 commit dc4146e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ Then include the service provider inside `config/app.php`.
...
];
```
Publish config and migrations


#### optional
```
php artisan vendor:publish --provider="Merodiro\Friendships\FriendshipsServiceProvider"
```

Finally, migrate the database
```
Expand Down
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,12 @@
"tests/models/User.php",
"tests/TestCase.php"
]
},
"extra": {
"laravel": {
"providers": [
"Merodiro\\Friendships\\FriendshipsServiceProvider"
]
}
}
}

0 comments on commit dc4146e

Please sign in to comment.