Package Data | |
---|---|
Maintainer Username: | m1guelpf |
Maintainer Contact: | hello@brianfaust.de (Brian Faust) |
Package Create Date: | 2015-02-24 |
Package Last Update: | 2024-03-23 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-20 03:01:27 |
Package Statistics | |
---|---|
Total Downloads: | 265,357 |
Monthly Downloads: | 3,434 |
Daily Downloads: | 137 |
Total Stars: | 62 |
Total Watchers: | 5 |
Total Forks: | 28 |
Total Open Issues: | 1 |
A Laravel Package to generate OAuth1/OAuth2 Providers that are compatible with the Socialite Providers Manager.
composer require socialiteproviders/generators
Add the ServiceProvider to the providers array in the config/app.php
.
'providers' => [
SocialiteProviders\Generators\GeneratorsServiceProvider::class,
],
php artisan make:socialite Dropbox --spec=oauth1 --author=YourName --email=your@name.com
php artisan make:socialite Dropbox --spec=oauth1 --author=YourName --email=your@name.com --request_token_url=http://myapp.io/oauth/request_token --authorize_url=http://myapp.io/oauth/authorize --access_token_url=http://myapp.io/oauth/access_token --user_details_url=http://myapp.io/users/me
php artisan make:socialite Dropbox --spec=oauth2 --author=YourName --email=your@name.com
php artisan make:socialite Dropbox --spec=oauth2 --author=YourName --email=your@name.com --scopes=basic --authorize_url=http://myapp.io/oauth/authorize --access_token_url=http://myapp.io/oauth/access_token --user_details_url=http://myapp.io/users/me