Skip to content

Commit

Permalink
Add package auto discovery feature in Laravel 5.5 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
matriphe authored and DarkaOnLine committed Sep 7, 2017
1 parent 8827acb commit 1643446
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ or open your `config/app.php` and add this line in `providers` section
```php
L5Swagger\L5SwaggerServiceProvider::class,
```

For Laravel 5.5, no need to manually add `L5SwaggerServiceProvider` into config. It uses package auto discovery feature.

Changes in 5.0
============
- Swagger UI 3.
Expand Down
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
"Tests\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
"L5Swagger\\L5SwaggerServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 1643446

Please sign in to comment.