Skip to content

Commit

Permalink
Added support for package discovery (#3)
Browse files Browse the repository at this point in the history
* Updated the composer.lock and README.md file
  • Loading branch information
bensherred committed Apr 10, 2020
1 parent 0f332d8 commit cdf73a9
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 26 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ STEAM_SECRET=
STEAM_REDIRECT_URI=
```

Before being able to use the Steam Socialite driver, register the provider in your
**Laravel 5.5+** uses Package Auto-Discovery, so does not require you to manually
add the `SteamSocialiteProvider`.

If you do not use auto-discovery, you will need register the provider in your
`config/app.php` configuration file as a package service provider:

```php
Expand Down
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
"TruckersMP\\SteamSocialite\\Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"providers": [
"TruckersMP\\SteamSocialite\\SteamSocialiteProvider"
]
}
},
"config": {
"sort-packages": true
},
Expand Down
114 changes: 89 additions & 25 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cdf73a9

Please sign in to comment.