Skip to content

Commit

Permalink
Merge pull request #55 from z38/fix-auto-discovery
Browse files Browse the repository at this point in the history
Fix auto discovery for Laravel ≥5.5
  • Loading branch information
wtfzdotnet committed May 2, 2018
2 parents 4aaacac + 1671c0c commit 0468624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ composer require php-tmdb/laravel

## Configuration

Add to your `app/config/app.php` (Laravel 4) or `config/app.php` (Laravel 5) the service provider:
Add to your `app/config/app.php` (Laravel 4) or `config/app.php` (Laravel <5.5) the service provider:

```php
'providers' => array(
Expand Down Expand Up @@ -79,7 +79,7 @@ The example below shows how you can use the `Tmdb` facade.
If you don't want to keep adding the `use Tmdb\Laravel\Facades\Tmdb;` statement in your files, then you can also add the facade as an alias in `config/app.php` file.

```php
use Tmdb\Laravel\Facades\Tmdb;
use Tmdb\Laravel\Facades\Tmdb; // optional for Laravel ≥5.5

class MoviesController {

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"extra": {
"laravel": {
"providers": [
"Tmdb\\Laravel\\TmdbServiceProviderLaravel5"
"Tmdb\\Laravel\\TmdbServiceProvider"
],
"aliases": {
"Tmdb": "Tmdb\\Laravel\\Facades\\Tmdb"
Expand Down

0 comments on commit 0468624

Please sign in to comment.