diff --git a/src/Acclaim/README.md b/src/Acclaim/README.md index c6fe89b64..a2d31b836 100644 --- a/src/Acclaim/README.md +++ b/src/Acclaim/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('acclaim', \SocialiteProviders\Acclaim\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Admitad/README.md b/src/Admitad/README.md index 6458fa98e..7a779a4df 100644 --- a/src/Admitad/README.md +++ b/src/Admitad/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('admitad', \SocialiteProviders\Admitad\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Adobe/README.md b/src/Adobe/README.md index 391bcd7b6..e42ac42fb 100644 --- a/src/Adobe/README.md +++ b/src/Adobe/README.md @@ -16,9 +16,26 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ``` ### Add provider event listener + +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('adobe', \SocialiteProviders\Adobe\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. + ```php protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ @@ -27,6 +44,7 @@ protected $listen = [ ], ]; ``` +
### Usage You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed): diff --git a/src/Amazon/README.md b/src/Amazon/README.md index 6c9697849..8eda8cc9d 100644 --- a/src/Amazon/README.md +++ b/src/Amazon/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('amazon', \SocialiteProviders\Amazon\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/AmoCRM/README.md b/src/AmoCRM/README.md index 3b7d226d9..347b07d6d 100644 --- a/src/AmoCRM/README.md +++ b/src/AmoCRM/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('amocrm', \SocialiteProviders\AmoCRM\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/AngelList/README.md b/src/AngelList/README.md index 4c85b8342..425a97b5e 100644 --- a/src/AngelList/README.md +++ b/src/AngelList/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('angellist', \SocialiteProviders\AngelList\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/AppNet/README.md b/src/AppNet/README.md index b36dc0e72..69d6a60fe 100644 --- a/src/AppNet/README.md +++ b/src/AppNet/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('appnet', \SocialiteProviders\AppNet\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Apple/README.md b/src/Apple/README.md index e750edf4a..cae5fc37c 100644 --- a/src/Apple/README.md +++ b/src/Apple/README.md @@ -24,6 +24,21 @@ See [Configure Apple ID Authentication](https://developer.okta.com/blog/2019/06/ ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('apple', \SocialiteProviders\Apple\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/ArcGIS/README.md b/src/ArcGIS/README.md index a332f2c6e..08b864575 100644 --- a/src/ArcGIS/README.md +++ b/src/ArcGIS/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('arcgis', \SocialiteProviders\ArcGIS\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Asana/README.md b/src/Asana/README.md index 35d5423c0..5f218e58d 100644 --- a/src/Asana/README.md +++ b/src/Asana/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('asana', \SocialiteProviders\Asana\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Atlassian/README.md b/src/Atlassian/README.md index 2603caf52..a60d911c1 100644 --- a/src/Atlassian/README.md +++ b/src/Atlassian/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('atlassian', \SocialiteProviders\Atlassian\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Auth0/README.md b/src/Auth0/README.md index ce0aec834..2184fded1 100644 --- a/src/Auth0/README.md +++ b/src/Auth0/README.md @@ -29,6 +29,21 @@ AUTH0_BASE_URL=https://example.auth0.com/ ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('auth0', \SocialiteProviders\Auth0\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -41,6 +56,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Authentik/README.md b/src/Authentik/README.md index b69dd8594..6ecd80176 100644 --- a/src/Authentik/README.md +++ b/src/Authentik/README.md @@ -27,11 +27,24 @@ Documentation (https://goauthentik.io/docs/providers/oauth2/) ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('authentik', \SocialiteProviders\Authentik\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. -Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. -See the [Base Installation Guide](https://socialiteproviders.com/usage/) for -detailed instructions. +Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. ```php protected $listen = [ @@ -41,6 +54,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/AutodeskAPS/README.md b/src/AutodeskAPS/README.md index 29baf2994..ff5e0d917 100644 --- a/src/AutodeskAPS/README.md +++ b/src/AutodeskAPS/README.md @@ -23,6 +23,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('autodeskaps', \SocialiteProviders\AutodeskAPS\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Aweber/README.md b/src/Aweber/README.md index cca2b43ca..35f01ca74 100644 --- a/src/Aweber/README.md +++ b/src/Aweber/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('aweber', \SocialiteProviders\Aweber\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Azure/README.md b/src/Azure/README.md index a53e52eed..47b0c5452 100644 --- a/src/Azure/README.md +++ b/src/Azure/README.md @@ -22,6 +22,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('azure', \SocialiteProviders\Azure\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/AzureADB2C/README.md b/src/AzureADB2C/README.md index f5cf453d4..dec795efd 100644 --- a/src/AzureADB2C/README.md +++ b/src/AzureADB2C/README.md @@ -27,6 +27,21 @@ To set up your Azure AD B2C custom domain, follow [these instructions](https://l ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('azureadb2c', \SocialiteProviders\AzureADB2C\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -39,6 +54,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Battlenet/README.md b/src/Battlenet/README.md index 73366919b..417d5c9f2 100644 --- a/src/Battlenet/README.md +++ b/src/Battlenet/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('battlenet', \SocialiteProviders\Battlenet\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Bexio/README.md b/src/Bexio/README.md index 87e0f509e..c37ffb880 100644 --- a/src/Bexio/README.md +++ b/src/Bexio/README.md @@ -8,13 +8,7 @@ composer require socialiteproviders/bexio Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below. -### Create Bexio Application -Follow the "First steps" section from the Bexio developer's documentation -https://docs.bexio.com/#section/First-steps - - ### Add configuration to `config/services.php` -Use credentials obtained on the previous step. ```php 'bexio' => [ @@ -26,6 +20,21 @@ Use credentials obtained on the previous step. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('bexio', \SocialiteProviders\Bexio\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -38,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Binance/README.md b/src/Binance/README.md index be423af40..790472477 100644 --- a/src/Binance/README.md +++ b/src/Binance/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('binance', \SocialiteProviders\Binance\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Bitbucket/README.md b/src/Bitbucket/README.md index 7a4170c72..49a466990 100644 --- a/src/Bitbucket/README.md +++ b/src/Bitbucket/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('bitbucket', \SocialiteProviders\Bitbucket\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Bitly/README.md b/src/Bitly/README.md index f0964a8cf..2d61c98c2 100644 --- a/src/Bitly/README.md +++ b/src/Bitly/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('bitly', \SocialiteProviders\Bitly\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Bitrix24/README.md b/src/Bitrix24/README.md index e23ef345e..6113c12ed 100644 --- a/src/Bitrix24/README.md +++ b/src/Bitrix24/README.md @@ -21,10 +21,24 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('bitrix24', \SocialiteProviders\Bitrix24\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. -Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See -the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. +Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. ```php protected $listen = [ @@ -34,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Blackboard/README.md b/src/Blackboard/README.md index a46342aeb..e8ff55baa 100644 --- a/src/Blackboard/README.md +++ b/src/Blackboard/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('blackboard', \SocialiteProviders\Blackboard\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Box/README.md b/src/Box/README.md index daeaeda08..25f595cca 100644 --- a/src/Box/README.md +++ b/src/Box/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('box', \SocialiteProviders\Box\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Buffer/README.md b/src/Buffer/README.md index 04abf3ee2..27b4e4d3d 100644 --- a/src/Buffer/README.md +++ b/src/Buffer/README.md @@ -26,6 +26,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('buffer', \SocialiteProviders\Buffer\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -38,6 +53,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/CampaignMonitor/README.md b/src/CampaignMonitor/README.md index 48ed478a9..7dca5644c 100644 --- a/src/CampaignMonitor/README.md +++ b/src/CampaignMonitor/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('campaignmonitor', \SocialiteProviders\CampaignMonitor\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Cheddar/README.md b/src/Cheddar/README.md index 642d8bdec..e67026815 100644 --- a/src/Cheddar/README.md +++ b/src/Cheddar/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('cheddar', \SocialiteProviders\Cheddar\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/ClaveUnica/README.md b/src/ClaveUnica/README.md index f3be947a7..15e9833ea 100644 --- a/src/ClaveUnica/README.md +++ b/src/ClaveUnica/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('claveunica', \SocialiteProviders\ClaveUnica\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Clerk/README.md b/src/Clerk/README.md index 2edbb10af..2a3e12cc6 100644 --- a/src/Clerk/README.md +++ b/src/Clerk/README.md @@ -31,6 +31,21 @@ CLERK_BASE_URL=https://example.clerk.accounts.dev ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('clerk', \SocialiteProviders\Clerk\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -43,6 +58,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Clover/README.md b/src/Clover/README.md index 03e586584..2ec4dde48 100644 --- a/src/Clover/README.md +++ b/src/Clover/README.md @@ -23,6 +23,21 @@ Ensure the app has permission to read employees. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('Clover', \SocialiteProviders\Clover\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Cognito/README.md b/src/Cognito/README.md index 74cca9ea2..41678e6d8 100644 --- a/src/Cognito/README.md +++ b/src/Cognito/README.md @@ -23,6 +23,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('cognito', \SocialiteProviders\Cognito\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Coinbase/README.md b/src/Coinbase/README.md index d81fa09ef..5fa1cedba 100644 --- a/src/Coinbase/README.md +++ b/src/Coinbase/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('coinbase', \SocialiteProviders\Coinbase\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/ConstantContact/README.md b/src/ConstantContact/README.md index 8acd440f9..5037d88bd 100644 --- a/src/ConstantContact/README.md +++ b/src/ConstantContact/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('constantcontact', \SocialiteProviders\ConstantContact\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Coursera/README.md b/src/Coursera/README.md index f50f903d9..8959f9eb1 100644 --- a/src/Coursera/README.md +++ b/src/Coursera/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('coursera', \SocialiteProviders\Coursera\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Dailymotion/README.md b/src/Dailymotion/README.md index 8a0aae482..6c1779b2f 100644 --- a/src/Dailymotion/README.md +++ b/src/Dailymotion/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('dailymotion', \SocialiteProviders\Dailymotion\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Dataporten/README.md b/src/Dataporten/README.md index a087b10e4..e63e5bb20 100644 --- a/src/Dataporten/README.md +++ b/src/Dataporten/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('dataporten', \SocialiteProviders\Dataporten\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Deezer/README.md b/src/Deezer/README.md index a3846bca3..667b5a055 100644 --- a/src/Deezer/README.md +++ b/src/Deezer/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('deezer', \SocialiteProviders\Deezer\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Deviantart/README.md b/src/Deviantart/README.md index 1019286d8..5e2655f61 100644 --- a/src/Deviantart/README.md +++ b/src/Deviantart/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('deviantart', \SocialiteProviders\Deviantart\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/DigitalOcean/README.md b/src/DigitalOcean/README.md index 273e0823e..9092a5647 100644 --- a/src/DigitalOcean/README.md +++ b/src/DigitalOcean/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('digitalocean', \SocialiteProviders\DigitalOcean\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Discogs/README.md b/src/Discogs/README.md index b3225fee3..213499bcb 100644 --- a/src/Discogs/README.md +++ b/src/Discogs/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('discogs', \SocialiteProviders\Discogs\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Discord/README.md b/src/Discord/README.md index 048236b26..671225bfb 100644 --- a/src/Discord/README.md +++ b/src/Discord/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('discord', \SocialiteProviders\Discord\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Disqus/README.md b/src/Disqus/README.md index a7eebf8c3..82f44bc2c 100644 --- a/src/Disqus/README.md +++ b/src/Disqus/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('disqus', \SocialiteProviders\Disqus\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/DocuSign/README.md b/src/DocuSign/README.md index bfde3bc3f..d26f92d72 100644 --- a/src/DocuSign/README.md +++ b/src/DocuSign/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('docusign', \SocialiteProviders\DocuSign\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Douban/README.md b/src/Douban/README.md index 0050cceac..a685a403e 100644 --- a/src/Douban/README.md +++ b/src/Douban/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('douban', \SocialiteProviders\Douban\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Dribbble/README.md b/src/Dribbble/README.md index 6e504445e..6ac859c18 100644 --- a/src/Dribbble/README.md +++ b/src/Dribbble/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('dribbble', \SocialiteProviders\Dribbble\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Dropbox/README.md b/src/Dropbox/README.md index 72a5b9e49..f87e5ee74 100644 --- a/src/Dropbox/README.md +++ b/src/Dropbox/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('dropbox', \SocialiteProviders\Dropbox\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Envato/README.md b/src/Envato/README.md index f30e673e0..9a6d4d341 100644 --- a/src/Envato/README.md +++ b/src/Envato/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('envato', \SocialiteProviders\Envato\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Eventbrite/README.md b/src/Eventbrite/README.md index 904e4fa0f..328b50ea2 100644 --- a/src/Eventbrite/README.md +++ b/src/Eventbrite/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('eventbrite', \SocialiteProviders\Eventbrite\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Eveonline/README.md b/src/Eveonline/README.md index 00244fd2a..b63c9177f 100644 --- a/src/Eveonline/README.md +++ b/src/Eveonline/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('eveonline', \SocialiteProviders\Eveonline\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Exment/README.md b/src/Exment/README.md index 4d3d16bee..61614a603 100644 --- a/src/Exment/README.md +++ b/src/Exment/README.md @@ -29,6 +29,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('exment', \SocialiteProviders\Exment\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -41,6 +56,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/EyeEm/README.md b/src/EyeEm/README.md index 14c26f412..78802001a 100644 --- a/src/EyeEm/README.md +++ b/src/EyeEm/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('eyeem', \SocialiteProviders\EyeEm\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Fablabs/README.md b/src/Fablabs/README.md index 5c2a5cbb7..824712bd2 100644 --- a/src/Fablabs/README.md +++ b/src/Fablabs/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('fablabs', \SocialiteProviders\Fablabs\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Facebook/README.md b/src/Facebook/README.md index 0bab362ff..82bca8ce6 100644 --- a/src/Facebook/README.md +++ b/src/Facebook/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('facebook', \SocialiteProviders\Facebook\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Faceit/README.md b/src/Faceit/README.md index 975208322..78f55be23 100644 --- a/src/Faceit/README.md +++ b/src/Faceit/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('faceit', \SocialiteProviders\Faceit\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Figma/README.md b/src/Figma/README.md index c996d5a52..4b973c999 100644 --- a/src/Figma/README.md +++ b/src/Figma/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('figma', \SocialiteProviders\Figma\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Fitbit/README.md b/src/Fitbit/README.md index 43f8d039b..6a70ee508 100644 --- a/src/Fitbit/README.md +++ b/src/Fitbit/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('fitbit', \SocialiteProviders\Fitbit\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/FiveHundredPixel/README.md b/src/FiveHundredPixel/README.md index 25d57e228..949083403 100644 --- a/src/FiveHundredPixel/README.md +++ b/src/FiveHundredPixel/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('500px', \SocialiteProviders\FiveHundredPixel\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Flattr/README.md b/src/Flattr/README.md index 78d858ce2..acec2f5f9 100644 --- a/src/Flattr/README.md +++ b/src/Flattr/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('flattr', \SocialiteProviders\Flattr\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Flexkids/README.md b/src/Flexkids/README.md index 33d733dc0..59fe5830a 100644 --- a/src/Flexkids/README.md +++ b/src/Flexkids/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('flexkids', \SocialiteProviders\Flexkids\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Flexmls/README.md b/src/Flexmls/README.md index 6aeac7d33..b43a33430 100644 --- a/src/Flexmls/README.md +++ b/src/Flexmls/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('flexmls', \SocialiteProviders\Flexmls\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Flickr/README.md b/src/Flickr/README.md index ca2408321..1548f0656 100644 --- a/src/Flickr/README.md +++ b/src/Flickr/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('flickr', \SocialiteProviders\Flickr\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Foursquare/README.md b/src/Foursquare/README.md index ef6985f1f..ad09069ed 100644 --- a/src/Foursquare/README.md +++ b/src/Foursquare/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('foursquare', \SocialiteProviders\Foursquare\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/FranceConnect/README.md b/src/FranceConnect/README.md index 8b21656dd..9d10db96a 100644 --- a/src/FranceConnect/README.md +++ b/src/FranceConnect/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('franceconnect', \SocialiteProviders\FranceConnect\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/FusionAuth/README.md b/src/FusionAuth/README.md index 2c7cd15b6..25f79a7be 100644 --- a/src/FusionAuth/README.md +++ b/src/FusionAuth/README.md @@ -22,6 +22,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('fusionauth', \SocialiteProviders\FusionAuth\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/GarminConnect/README.md b/src/GarminConnect/README.md index 8e8b584cd..5feb1a193 100644 --- a/src/GarminConnect/README.md +++ b/src/GarminConnect/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('garmin-connect', \SocialiteProviders\GarminConnect\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/GettyImages/README.md b/src/GettyImages/README.md index b60f9b2f5..6a2efb304 100644 --- a/src/GettyImages/README.md +++ b/src/GettyImages/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('gettyimages', \SocialiteProviders\GettyImages\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/GitHub/README.md b/src/GitHub/README.md index d1ab4a76d..8036733f7 100644 --- a/src/GitHub/README.md +++ b/src/GitHub/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('github', \SocialiteProviders\GitHub\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/GitLab/README.md b/src/GitLab/README.md index 2095810e7..a5f4edad9 100644 --- a/src/GitLab/README.md +++ b/src/GitLab/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('gitlab', \SocialiteProviders\GitLab\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Gitea/README.md b/src/Gitea/README.md index e12690687..9bec52337 100644 --- a/src/Gitea/README.md +++ b/src/Gitea/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('gitea', \SocialiteProviders\Gitea\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Gitee/README.md b/src/Gitee/README.md index 20bf9c6d5..c57f4f3da 100644 --- a/src/Gitee/README.md +++ b/src/Gitee/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('gitee', \SocialiteProviders\Gitee\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Goodreads/README.md b/src/Goodreads/README.md index 4c57705b1..5e7582126 100644 --- a/src/Goodreads/README.md +++ b/src/Goodreads/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('goodreads', \SocialiteProviders\Goodreads\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Google/README.md b/src/Google/README.md index bf65bab08..598cd3fcd 100644 --- a/src/Google/README.md +++ b/src/Google/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('google', \SocialiteProviders\Google\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/GovBR/README.md b/src/GovBR/README.md index bb7ae140f..a88f8d290 100644 --- a/src/GovBR/README.md +++ b/src/GovBR/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('govbr', \SocialiteProviders\GovBR\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Graph/README.md b/src/Graph/README.md index 7f069add7..6c581abc6 100644 --- a/src/Graph/README.md +++ b/src/Graph/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('graph', \SocialiteProviders\Graph\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Gumroad/README.md b/src/Gumroad/README.md index e0b00e0aa..c2a22edce 100644 --- a/src/Gumroad/README.md +++ b/src/Gumroad/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('gumroad', \SocialiteProviders\Gumroad\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/HabrCareer/README.md b/src/HabrCareer/README.md index 572ab5490..e99944975 100644 --- a/src/HabrCareer/README.md +++ b/src/HabrCareer/README.md @@ -25,6 +25,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('habrcareer', \SocialiteProviders\HabrCareer\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -37,6 +52,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/HarID/README.md b/src/HarID/README.md index 46d729bb9..504890fe8 100644 --- a/src/HarID/README.md +++ b/src/HarID/README.md @@ -23,6 +23,21 @@ Please note that `use_test_idp` could be omitted and would default to `false`. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('harid', \SocialiteProviders\HarID\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Harvest/README.md b/src/Harvest/README.md index f2065eb11..ac372fd27 100644 --- a/src/Harvest/README.md +++ b/src/Harvest/README.md @@ -22,6 +22,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('harvest', \SocialiteProviders\Harvest\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/HeadHunter/README.md b/src/HeadHunter/README.md index 19d42f059..932ad7913 100644 --- a/src/HeadHunter/README.md +++ b/src/HeadHunter/README.md @@ -25,6 +25,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('headhunter', \SocialiteProviders\HeadHunter\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -37,6 +52,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Heroku/README.md b/src/Heroku/README.md index 0a94066b2..b2a70d970 100644 --- a/src/Heroku/README.md +++ b/src/Heroku/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('heroku', \SocialiteProviders\Heroku\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/HubSpot/README.md b/src/HubSpot/README.md index 244198fb5..1fcad97af 100644 --- a/src/HubSpot/README.md +++ b/src/HubSpot/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('hubspot', \SocialiteProviders\HubSpot\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/HumanApi/README.md b/src/HumanApi/README.md index dd1519da1..8814a5d8a 100644 --- a/src/HumanApi/README.md +++ b/src/HumanApi/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('humanapi', \SocialiteProviders\HumanApi\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/IFSP/README.md b/src/IFSP/README.md index c2f12d229..bf0834dde 100644 --- a/src/IFSP/README.md +++ b/src/IFSP/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('ifsp', \SocialiteProviders\IFSP\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Imgur/README.md b/src/Imgur/README.md index dafd99f49..00664b411 100644 --- a/src/Imgur/README.md +++ b/src/Imgur/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('imgur', \SocialiteProviders\Imgur\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Imis/README.md b/src/Imis/README.md index cbe7f0d56..844a91664 100644 --- a/src/Imis/README.md +++ b/src/Imis/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('imis', \SocialiteProviders\Imis\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -31,11 +46,12 @@ Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. ```php protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ - // add your listeners (aka providers) here + // ... other providers \SocialiteProviders\Imis\ImisExtendSocialite::class.'@handle', ], ]; ``` +
### Usage diff --git a/src/Indeed/README.md b/src/Indeed/README.md index aaab5d219..35e2d7fe2 100644 --- a/src/Indeed/README.md +++ b/src/Indeed/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('indeed', \SocialiteProviders\Indeed\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Instagram/README.md b/src/Instagram/README.md index fa2c6bcd5..2a0f6c596 100644 --- a/src/Instagram/README.md +++ b/src/Instagram/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('instagram', \SocialiteProviders\Instagram\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/InstagramBasic/README.md b/src/InstagramBasic/README.md index f8279a5be..8ba18c4c7 100644 --- a/src/InstagramBasic/README.md +++ b/src/InstagramBasic/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('instagrambasic', \SocialiteProviders\InstagramBasic\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Instructure/README.md b/src/Instructure/README.md index 4b429558f..9ede60c76 100644 --- a/src/Instructure/README.md +++ b/src/Instructure/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('instructure', \SocialiteProviders\Instructure\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Intercom/README.md b/src/Intercom/README.md index 7ee83d726..1451589c8 100644 --- a/src/Intercom/README.md +++ b/src/Intercom/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('intercom', \SocialiteProviders\Intercom\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Jira/README.md b/src/Jira/README.md index 6f588f027..eee3668bf 100644 --- a/src/Jira/README.md +++ b/src/Jira/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('jira', \SocialiteProviders\Jira\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/JumpCloud/README.md b/src/JumpCloud/README.md index 1093f3ca7..8b4b59a84 100644 --- a/src/JumpCloud/README.md +++ b/src/JumpCloud/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('jumpcloud', \SocialiteProviders\JumpCloud\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Kakao/README.md b/src/Kakao/README.md index eb5495586..86cf46668 100644 --- a/src/Kakao/README.md +++ b/src/Kakao/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('kakao', \SocialiteProviders\Kakao\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Kanidm/README.md b/src/Kanidm/README.md index f0ad97429..9905d7a93 100644 --- a/src/Kanidm/README.md +++ b/src/Kanidm/README.md @@ -29,6 +29,21 @@ KANIDM_BASE_URL=https://idm.example.com/ ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('kanidm', \SocialiteProviders\Kanidm\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -41,6 +56,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Keycloak/README.md b/src/Keycloak/README.md index d1d64a6dc..a4793a58f 100644 --- a/src/Keycloak/README.md +++ b/src/Keycloak/README.md @@ -22,6 +22,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('keycloak', \SocialiteProviders\Keycloak\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/LaravelPassport/README.md b/src/LaravelPassport/README.md index bcbb80153..159add409 100644 --- a/src/LaravelPassport/README.md +++ b/src/LaravelPassport/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('laravelpassport', \SocialiteProviders\LaravelPassport\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,24 +48,7 @@ protected $listen = [ ], ]; ``` - -### Passport server configuration note - -If you are experiencing successful authentication, but the returned user contains null attributes, you may need to change your `routes/api.php` file. The default routes file uses the `auth:sanctum` middleware: - -```php -Route::middleware('auth:sanctum')->get('/user', function (Request $request) { - return $request->user(); -}); -``` - -It may need to be changed to `auth:api` in order to return the correct attributes: - -```php -Route::middleware('auth:api')->get('/user', function (Request $request) { - return $request->user(); -}); -``` +
### Usage diff --git a/src/Lichess/README.md b/src/Lichess/README.md index d2352b775..c2f9560e2 100644 --- a/src/Lichess/README.md +++ b/src/Lichess/README.md @@ -22,6 +22,21 @@ According to Lichess.org API reference (2.0.0) Lichess supports unregistered and ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('lichess', \SocialiteProviders\Lichess\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/LifeScienceLogin/README.md b/src/LifeScienceLogin/README.md index 9cfc97666..84a17550e 100644 --- a/src/LifeScienceLogin/README.md +++ b/src/LifeScienceLogin/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('lifesciencelogin', \SocialiteProviders\LifeScienceLogin\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Line/README.md b/src/Line/README.md index 772012642..2f6335def 100644 --- a/src/Line/README.md +++ b/src/Line/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('line', \SocialiteProviders\Line\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/LinkedIn/README.md b/src/LinkedIn/README.md index f9d402f20..0c5486471 100644 --- a/src/LinkedIn/README.md +++ b/src/LinkedIn/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('linkedin', \SocialiteProviders\LinkedIn\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Linode/README.md b/src/Linode/README.md index d610a76e9..0a643fe36 100644 --- a/src/Linode/README.md +++ b/src/Linode/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('linode', \SocialiteProviders\Linode\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Live/README.md b/src/Live/README.md index 7ea722f15..bf6a76d70 100644 --- a/src/Live/README.md +++ b/src/Live/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('live', \SocialiteProviders\Live\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/MailChimp/README.md b/src/MailChimp/README.md index 4e844fc0a..1c1bad906 100644 --- a/src/MailChimp/README.md +++ b/src/MailChimp/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mailchimp', \SocialiteProviders\MailChimp\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Mailru/README.md b/src/Mailru/README.md index 374143e42..35200812a 100644 --- a/src/Mailru/README.md +++ b/src/Mailru/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mailru', \SocialiteProviders\Mailru\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/MakerLog/README.md b/src/MakerLog/README.md index 8722bfde4..03c65e44d 100644 --- a/src/MakerLog/README.md +++ b/src/MakerLog/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('makerlog', \SocialiteProviders\MakerLog\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Mattermost/README.md b/src/Mattermost/README.md index 452f17e8e..d9ad7a235 100644 --- a/src/Mattermost/README.md +++ b/src/Mattermost/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mattermost', \SocialiteProviders\Mattermost\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/MediaCube/README.md b/src/MediaCube/README.md index b8baf25d0..51b4968fc 100644 --- a/src/MediaCube/README.md +++ b/src/MediaCube/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mediacube', \SocialiteProviders\MediaCube\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Mediawiki/README.md b/src/Mediawiki/README.md index a6fc9da7c..d804b58db 100644 --- a/src/Mediawiki/README.md +++ b/src/Mediawiki/README.md @@ -29,6 +29,21 @@ MEDIAWIKI_BASE_URL=https://meta.wikimedia.org/w/rest.php ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mediawiki', \SocialiteProviders\Mediawiki\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -41,6 +56,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Medium/README.md b/src/Medium/README.md index 288cb68e3..b759c189f 100644 --- a/src/Medium/README.md +++ b/src/Medium/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('medium', \SocialiteProviders\Medium\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Meetup/README.md b/src/Meetup/README.md index ce3b0cdd2..865aa45cc 100644 --- a/src/Meetup/README.md +++ b/src/Meetup/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('meetup', \SocialiteProviders\Meetup\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/MercadoLibre/README.md b/src/MercadoLibre/README.md index 8e2fb03ea..7d929c28a 100644 --- a/src/MercadoLibre/README.md +++ b/src/MercadoLibre/README.md @@ -43,6 +43,21 @@ Available countries: ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mercadolibre', \SocialiteProviders\MercadoLibre\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -55,6 +70,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/MercadoPago/README.md b/src/MercadoPago/README.md index 41d35a397..017c1963c 100644 --- a/src/MercadoPago/README.md +++ b/src/MercadoPago/README.md @@ -32,6 +32,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mercadopago', \SocialiteProviders\MercadoPago\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -44,6 +59,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Microsoft/README.md b/src/Microsoft/README.md index 4ff09c627..2a065f4dc 100644 --- a/src/Microsoft/README.md +++ b/src/Microsoft/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('microsoft', \SocialiteProviders\Microsoft\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Minecraft/README.md b/src/Minecraft/README.md index bc8c7286f..a2aa1e736 100644 --- a/src/Minecraft/README.md +++ b/src/Minecraft/README.md @@ -21,6 +21,21 @@ This provider is based on the [Microsoft Authentication Scheme](https://wiki.vg/ ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('minecraft', \SocialiteProviders\Minecraft\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Mixcloud/README.md b/src/Mixcloud/README.md index 10211cf0d..8892d574f 100644 --- a/src/Mixcloud/README.md +++ b/src/Mixcloud/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mixcloud', \SocialiteProviders\Mixcloud\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Mollie/README.md b/src/Mollie/README.md index 720cceef3..d5c660fa4 100644 --- a/src/Mollie/README.md +++ b/src/Mollie/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('mollie', \SocialiteProviders\Mollie\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Monday/README.md b/src/Monday/README.md index 874de74da..5b5c4b131 100644 --- a/src/Monday/README.md +++ b/src/Monday/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('monday', \SocialiteProviders\Monday\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/MusicBrainz/README.md b/src/MusicBrainz/README.md index 316743a67..1fe35b1d7 100644 --- a/src/MusicBrainz/README.md +++ b/src/MusicBrainz/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('musicbrainz', \SocialiteProviders\MusicBrainz\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Naver/README.md b/src/Naver/README.md index 20d581532..50a61914e 100644 --- a/src/Naver/README.md +++ b/src/Naver/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('naver', \SocialiteProviders\Naver\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Netlify/README.md b/src/Netlify/README.md index 26612d194..6b3fb1fca 100644 --- a/src/Netlify/README.md +++ b/src/Netlify/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('netlify', \SocialiteProviders\Netlify\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Neto/README.md b/src/Neto/README.md index 4d1148574..0b055e8f3 100644 --- a/src/Neto/README.md +++ b/src/Neto/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('neto', \SocialiteProviders\Neto\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Nextcloud/README.md b/src/Nextcloud/README.md index a7a3dcbcb..329241cc5 100644 --- a/src/Nextcloud/README.md +++ b/src/Nextcloud/README.md @@ -23,6 +23,21 @@ You must include `index.php` in `instance_uri` if pretty URL is not configured. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('nextcloud', \SocialiteProviders\Nextcloud\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Nocks/README.md b/src/Nocks/README.md index 3d4f449d5..2204f7589 100644 --- a/src/Nocks/README.md +++ b/src/Nocks/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('nocks', \SocialiteProviders\Nocks\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Notion/README.md b/src/Notion/README.md index c26346008..f8670e2b3 100644 --- a/src/Notion/README.md +++ b/src/Notion/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('notion', \SocialiteProviders\Notion\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/OAuthgen/README.md b/src/OAuthgen/README.md index 00105c782..075435739 100644 --- a/src/OAuthgen/README.md +++ b/src/OAuthgen/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('oauthgen', \SocialiteProviders\OAuthgen\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/OSChina/README.md b/src/OSChina/README.md index 83f24adcf..2bccf3e99 100644 --- a/src/OSChina/README.md +++ b/src/OSChina/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('oschina', \SocialiteProviders\OSChina\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Odnoklassniki/README.md b/src/Odnoklassniki/README.md index 961e9e374..b58d896f1 100644 --- a/src/Odnoklassniki/README.md +++ b/src/Odnoklassniki/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('odnoklassniki', \SocialiteProviders\Odnoklassniki\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Okta/README.md b/src/Okta/README.md index e97eed78b..6f26ac501 100644 --- a/src/Okta/README.md +++ b/src/Okta/README.md @@ -46,6 +46,21 @@ For more information, see the [okta docs](https://developer.okta.com/docs/concep ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('okta', \SocialiteProviders\Okta\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -58,6 +73,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Onelogin/README.md b/src/Onelogin/README.md index c0fffb8f4..1457a1abb 100644 --- a/src/Onelogin/README.md +++ b/src/Onelogin/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('onelogin', \SocialiteProviders\Onelogin\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -29,10 +44,11 @@ Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // ... other providers - 'SocialiteProviders\\Onelogin\\OneloginExtendSocialite@handle', + \SocialiteProviders\Onelogin\OneloginExtendSocialite::class.'@handle', ], ]; ``` +
### Usage diff --git a/src/OpenStreetMap/README.md b/src/OpenStreetMap/README.md index a31171f14..60791bec7 100644 --- a/src/OpenStreetMap/README.md +++ b/src/OpenStreetMap/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('openstreetmap', \SocialiteProviders\OpenStreetMap\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Orcid/README.md b/src/Orcid/README.md index 1a5e5920d..1f1e174ad 100644 --- a/src/Orcid/README.md +++ b/src/Orcid/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('orcid', \SocialiteProviders\Orcid\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Ovh/README.md b/src/Ovh/README.md index 29d560d72..ada748fdf 100644 --- a/src/Ovh/README.md +++ b/src/Ovh/README.md @@ -27,6 +27,21 @@ First choose the "endpoint" (which is the service and the country) then click on ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('ovh', \SocialiteProviders\Ovh\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -39,6 +54,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Patreon/README.md b/src/Patreon/README.md index a5f46a616..4fc0c34cc 100644 --- a/src/Patreon/README.md +++ b/src/Patreon/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('patreon', \SocialiteProviders\Patreon\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/PayPal/README.md b/src/PayPal/README.md index 262dad9ab..c1e446652 100644 --- a/src/PayPal/README.md +++ b/src/PayPal/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('paypal', \SocialiteProviders\PayPal\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/PayPalSandbox/README.md b/src/PayPalSandbox/README.md index 94bb8dc9a..d5484ef6b 100644 --- a/src/PayPalSandbox/README.md +++ b/src/PayPalSandbox/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('paypal_sandbox', \SocialiteProviders\PayPalSandbox\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Paymill/README.md b/src/Paymill/README.md index 9118b88f3..50145489a 100644 --- a/src/Paymill/README.md +++ b/src/Paymill/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('paymill', \SocialiteProviders\Paymill\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/PeeringDB/README.md b/src/PeeringDB/README.md index 016872b7f..f95f73f63 100644 --- a/src/PeeringDB/README.md +++ b/src/PeeringDB/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('peeringdb', \SocialiteProviders\PeeringDB\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Pinterest/README.md b/src/Pinterest/README.md index aa4acb050..97baf2dc8 100644 --- a/src/Pinterest/README.md +++ b/src/Pinterest/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('pinterest', \SocialiteProviders\Pinterest\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Pipedrive/README.md b/src/Pipedrive/README.md index 25a0ce4f2..9e4ba1ed1 100644 --- a/src/Pipedrive/README.md +++ b/src/Pipedrive/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('pipedrive', \SocialiteProviders\Pipedrive\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Pixnet/README.md b/src/Pixnet/README.md index 7a98bbd66..5e9ac34f8 100644 --- a/src/Pixnet/README.md +++ b/src/Pixnet/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('pixnet', \SocialiteProviders\Pixnet\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/PlanningCenter/README.md b/src/PlanningCenter/README.md index 7e127320e..a1cce61dc 100644 --- a/src/PlanningCenter/README.md +++ b/src/PlanningCenter/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('planningcenter', \SocialiteProviders\PlanningCenter\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Podio/README.md b/src/Podio/README.md index 96d6b203d..c3898b0e2 100644 --- a/src/Podio/README.md +++ b/src/Podio/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('podio', \SocialiteProviders\Podio\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Pr0gramm/README.md b/src/Pr0gramm/README.md index 9c8f90a44..ab12572fb 100644 --- a/src/Pr0gramm/README.md +++ b/src/Pr0gramm/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('pr0gramm', \SocialiteProviders\Pr0gramm\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Procore/README.md b/src/Procore/README.md index b421910b7..857376074 100644 --- a/src/Procore/README.md +++ b/src/Procore/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('procore', \SocialiteProviders\Procore\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/ProductHunt/README.md b/src/ProductHunt/README.md index 02768180f..ec2a4f330 100644 --- a/src/ProductHunt/README.md +++ b/src/ProductHunt/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('producthunt', \SocialiteProviders\ProductHunt\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/ProjectV/README.md b/src/ProjectV/README.md index 1fea89a47..85034a410 100644 --- a/src/ProjectV/README.md +++ b/src/ProjectV/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('projectv', \SocialiteProviders\ProjectV\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Pushbullet/README.md b/src/Pushbullet/README.md index 1d9b38fc5..47fc567d1 100644 --- a/src/Pushbullet/README.md +++ b/src/Pushbullet/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('pushbullet', \SocialiteProviders\Pushbullet\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/QQ/README.md b/src/QQ/README.md index f0a529631..01e6bd96d 100644 --- a/src/QQ/README.md +++ b/src/QQ/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('qq', \SocialiteProviders\QQ\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -28,10 +43,11 @@ Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // ... other providers - \SocialiteProviders\QQ\QqExtendSocialite::class.'@handle', + \SocialiteProviders\QQ\QQExtendSocialite::class.'@handle', ], ]; ``` +
### Usage diff --git a/src/QuickBooks/README.md b/src/QuickBooks/README.md index 65434af23..23e413c4c 100644 --- a/src/QuickBooks/README.md +++ b/src/QuickBooks/README.md @@ -23,6 +23,21 @@ The `env`-value should be `development` for the sandbox environment and `product ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('quickbooks', \SocialiteProviders\QuickBooks\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Readability/README.md b/src/Readability/README.md index 9b36a14c3..a70f161b3 100644 --- a/src/Readability/README.md +++ b/src/Readability/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('readability', \SocialiteProviders\Readability\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Redbooth/README.md b/src/Redbooth/README.md index fdb22291e..67292f3d0 100644 --- a/src/Redbooth/README.md +++ b/src/Redbooth/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('redbooth', \SocialiteProviders\Redbooth\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Reddit/README.md b/src/Reddit/README.md index eed879091..f712fa925 100644 --- a/src/Reddit/README.md +++ b/src/Reddit/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('reddit', \SocialiteProviders\Reddit\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Rekono/README.md b/src/Rekono/README.md index d3efd06b7..c148d9a5d 100644 --- a/src/Rekono/README.md +++ b/src/Rekono/README.md @@ -29,6 +29,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('rekono', \SocialiteProviders\Rekono\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -41,6 +56,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/RunKeeper/README.md b/src/RunKeeper/README.md index 151d7378e..c6a8580bd 100644 --- a/src/RunKeeper/README.md +++ b/src/RunKeeper/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('runkeeper', \SocialiteProviders\RunKeeper\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/SURFconext/README.md b/src/SURFconext/README.md index e261d30cb..7f4b2c0f0 100644 --- a/src/SURFconext/README.md +++ b/src/SURFconext/README.md @@ -21,6 +21,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('surfconext', \SocialiteProviders\SURFconext\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -33,6 +48,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Sage/README.md b/src/Sage/README.md index 0e788ef14..973b486b4 100644 --- a/src/Sage/README.md +++ b/src/Sage/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('sage', \SocialiteProviders\Sage\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/SalesForce/README.md b/src/SalesForce/README.md index 48af6e660..3ddcde63a 100644 --- a/src/SalesForce/README.md +++ b/src/SalesForce/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('SalesForce', \SocialiteProviders\SalesForce\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Salesloft/README.md b/src/Salesloft/README.md index 89ad1e02f..581dbcecd 100644 --- a/src/Salesloft/README.md +++ b/src/Salesloft/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('Salesloft', \SocialiteProviders\Salesloft\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -28,10 +43,11 @@ Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // ... other providers - \SocialiteProviders\Salesloft\SalesloftExtendSocialite::class . '@handle', + \SocialiteProviders\Salesloft\SalesloftExtendSocialite::class.'@handle', ], ]; ``` +
### Usage diff --git a/src/Saml2/README.md b/src/Saml2/README.md index 6aba43464..894e93557 100644 --- a/src/Saml2/README.md +++ b/src/Saml2/README.md @@ -61,6 +61,21 @@ configuration options at the same time. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('saml2', \SocialiteProviders\Saml2\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -73,6 +88,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/SciStarter/README.md b/src/SciStarter/README.md index a1c772898..2560cbb15 100644 --- a/src/SciStarter/README.md +++ b/src/SciStarter/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('scistarter', \SocialiteProviders\SciStarter\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/SharePoint/README.md b/src/SharePoint/README.md index 5ecc149bd..403c1bd81 100644 --- a/src/SharePoint/README.md +++ b/src/SharePoint/README.md @@ -23,6 +23,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('sharepoint', \SocialiteProviders\SharePoint\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Shopify/README.md b/src/Shopify/README.md index 59f8cb3d6..3eedf62f2 100644 --- a/src/Shopify/README.md +++ b/src/Shopify/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('shopify', \SocialiteProviders\Shopify\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Slack/README.md b/src/Slack/README.md index 9598130f2..9ece384f4 100644 --- a/src/Slack/README.md +++ b/src/Slack/README.md @@ -26,6 +26,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('slack', \SocialiteProviders\Slack\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -38,6 +53,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Smashcast/README.md b/src/Smashcast/README.md index c374f5b3c..aaf9832d8 100644 --- a/src/Smashcast/README.md +++ b/src/Smashcast/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('smashcast', \SocialiteProviders\Smashcast\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Snapchat/README.md b/src/Snapchat/README.md index c2c16922f..c1338365a 100644 --- a/src/Snapchat/README.md +++ b/src/Snapchat/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('snapchat', \SocialiteProviders\Snapchat\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/SoundCloud/README.md b/src/SoundCloud/README.md index 172edfb51..7ac8c7836 100644 --- a/src/SoundCloud/README.md +++ b/src/SoundCloud/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('soundcloud', \SocialiteProviders\SoundCloud\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Spotify/README.md b/src/Spotify/README.md index bb9d0105b..e931cdb1d 100644 --- a/src/Spotify/README.md +++ b/src/Spotify/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('spotify', \SocialiteProviders\Spotify\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/StackExchange/README.md b/src/StackExchange/README.md index a8a64e2cd..a590b0ca8 100644 --- a/src/StackExchange/README.md +++ b/src/StackExchange/README.md @@ -22,6 +22,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('stackexchange', \SocialiteProviders\StackExchange\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Starling/README.md b/src/Starling/README.md index 98aefdcc1..ffa74e2f8 100644 --- a/src/Starling/README.md +++ b/src/Starling/README.md @@ -25,6 +25,21 @@ Add `guzzle` options here to configure the certificates as curl settings. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('starling', \SocialiteProviders\Starling\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -37,6 +52,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/StartGg/README.md b/src/StartGg/README.md index dd2968cab..1a6ceee03 100644 --- a/src/StartGg/README.md +++ b/src/StartGg/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('startgg', \SocialiteProviders\StartGg\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Steem/README.md b/src/Steem/README.md index c7398a646..009340c3f 100644 --- a/src/Steem/README.md +++ b/src/Steem/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('steem', \SocialiteProviders\Steem\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/StockTwits/README.md b/src/StockTwits/README.md index 1ec79a4be..d2cd1d18e 100644 --- a/src/StockTwits/README.md +++ b/src/StockTwits/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('stocktwits', \SocialiteProviders\StockTwits\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Strava/README.md b/src/Strava/README.md index 4f34847e9..20755456f 100644 --- a/src/Strava/README.md +++ b/src/Strava/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('strava', \SocialiteProviders\Strava\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/StreamElements/README.md b/src/StreamElements/README.md index bd88974d3..6455d2174 100644 --- a/src/StreamElements/README.md +++ b/src/StreamElements/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('streamelements', \SocialiteProviders\StreamElements\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Streamlabs/README.md b/src/Streamlabs/README.md index 711f1bef0..e191ca6a2 100644 --- a/src/Streamlabs/README.md +++ b/src/Streamlabs/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('streamlabs', \SocialiteProviders\Streamlabs\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Stripe/README.md b/src/Stripe/README.md index 08946ac6f..edb935804 100644 --- a/src/Stripe/README.md +++ b/src/Stripe/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('stripe', \SocialiteProviders\Stripe\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Subscribestar/README.md b/src/Subscribestar/README.md index 7d307c2d3..319f17256 100644 --- a/src/Subscribestar/README.md +++ b/src/Subscribestar/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('subscribestar', \SocialiteProviders\Subscribestar\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/SuperOffice/README.md b/src/SuperOffice/README.md index fbb620c4a..6c4398612 100644 --- a/src/SuperOffice/README.md +++ b/src/SuperOffice/README.md @@ -22,6 +22,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('superoffice', \SocialiteProviders\SuperOffice\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/TVShowTime/README.md b/src/TVShowTime/README.md index 2acd5cc61..9f32083c1 100644 --- a/src/TVShowTime/README.md +++ b/src/TVShowTime/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('tvshowtime', \SocialiteProviders\TVShowTime\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/TeamService/README.md b/src/TeamService/README.md index 836ddec61..54f8a4e0d 100644 --- a/src/TeamService/README.md +++ b/src/TeamService/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('teamservice', \SocialiteProviders\TeamService\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Teamleader/README.md b/src/Teamleader/README.md index 14974c37a..5d92a7f56 100644 --- a/src/Teamleader/README.md +++ b/src/Teamleader/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('teamleader', \SocialiteProviders\Teamleader\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Teamweek/README.md b/src/Teamweek/README.md index bb087bb12..e5d1c273b 100644 --- a/src/Teamweek/README.md +++ b/src/Teamweek/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('teamweek', \SocialiteProviders\Teamweek\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Telegram/README.md b/src/Telegram/README.md index ea78274f8..b5cee6630 100644 --- a/src/Telegram/README.md +++ b/src/Telegram/README.md @@ -27,6 +27,21 @@ Then, you need to add your bot's configuration to `config/services.php`. The bot ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('telegram', \SocialiteProviders\Telegram\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -39,6 +54,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/ThirtySevenSignals/README.md b/src/ThirtySevenSignals/README.md index ecdb3990d..45f438d0d 100644 --- a/src/ThirtySevenSignals/README.md +++ b/src/ThirtySevenSignals/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('37signals', \SocialiteProviders\ThirtySevenSignals\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/TikTok/README.md b/src/TikTok/README.md index cc62784ee..8acf15091 100644 --- a/src/TikTok/README.md +++ b/src/TikTok/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('tiktok', \SocialiteProviders\TikTok\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Todoist/README.md b/src/Todoist/README.md index 86106c1f7..1f86f8196 100644 --- a/src/Todoist/README.md +++ b/src/Todoist/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('todoist', \SocialiteProviders\Todoist\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Toyhouse/README.md b/src/Toyhouse/README.md index 35896cee9..ff6b2bc99 100644 --- a/src/Toyhouse/README.md +++ b/src/Toyhouse/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('toyhouse', \SocialiteProviders\Toyhouse\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Trakt/README.md b/src/Trakt/README.md index eeb5991ed..627fcc73e 100644 --- a/src/Trakt/README.md +++ b/src/Trakt/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('trakt', \SocialiteProviders\Trakt\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Trello/README.md b/src/Trello/README.md index 24316802e..f1c119760 100644 --- a/src/Trello/README.md +++ b/src/Trello/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('trello', \SocialiteProviders\Trello\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Tumblr/README.md b/src/Tumblr/README.md index 912923421..3f0c6c607 100644 --- a/src/Tumblr/README.md +++ b/src/Tumblr/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('tumblr', \SocialiteProviders\Tumblr\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/TwentyThreeAndMe/README.md b/src/TwentyThreeAndMe/README.md index 8fc9ea8bb..62b151276 100644 --- a/src/TwentyThreeAndMe/README.md +++ b/src/TwentyThreeAndMe/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('23andme', \SocialiteProviders\TwentyThreeAndMe\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/TwitCasting/README.md b/src/TwitCasting/README.md index 62615f940..84fa51ecc 100644 --- a/src/TwitCasting/README.md +++ b/src/TwitCasting/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('twitcasting', \SocialiteProviders\TwitCasting\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Twitch/README.md b/src/Twitch/README.md index c67f2cfcb..92e53f102 100644 --- a/src/Twitch/README.md +++ b/src/Twitch/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('twitch', \SocialiteProviders\Twitch\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Twitter/README.md b/src/Twitter/README.md index e9ce26d13..5ff6cae25 100644 --- a/src/Twitter/README.md +++ b/src/Twitter/README.md @@ -24,6 +24,21 @@ You will need to enable **3-legged OAuth** in the [Twitter Developers Dashboard] ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('twitter', \SocialiteProviders\Twitter\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/UCL/README.md b/src/UCL/README.md index 10658c5a8..73963fbdc 100644 --- a/src/UCL/README.md +++ b/src/UCL/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('uclapi', \SocialiteProviders\UCL\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/UFS/README.md b/src/UFS/README.md index 1748f81f6..1b0a2ce74 100644 --- a/src/UFS/README.md +++ b/src/UFS/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('ufs', \SocialiteProviders\UFS\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Uber/README.md b/src/Uber/README.md index 3ad672eec..57184a419 100644 --- a/src/Uber/README.md +++ b/src/Uber/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('uber', \SocialiteProviders\Uber\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Ufutx/README.md b/src/Ufutx/README.md index 99f70ecdc..d8e867881 100644 --- a/src/Ufutx/README.md +++ b/src/Ufutx/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('ufutx', \SocialiteProviders\Ufutx\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Unsplash/README.md b/src/Unsplash/README.md index f865da615..9b0858c3b 100644 --- a/src/Unsplash/README.md +++ b/src/Unsplash/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('unsplash', \SocialiteProviders\Unsplash\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Untappd/README.md b/src/Untappd/README.md index 6e5d8d3d3..725eef772 100644 --- a/src/Untappd/README.md +++ b/src/Untappd/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('untappd', \SocialiteProviders\Untappd\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Usos/README.md b/src/Usos/README.md index 003ee63df..13df4413e 100644 --- a/src/Usos/README.md +++ b/src/Usos/README.md @@ -33,6 +33,21 @@ Some fields may be not available without ```scopes``` field specifying. ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('usos', \SocialiteProviders\Usos\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -41,10 +56,11 @@ Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // ... other providers - 'SocialiteProviders\Usos\UsosExtendSocialite@handle', + \SocialiteProviders\Usos\UsosExtendSocialite::class.'@handle', ], ]; ``` +
### Usage diff --git a/src/VKontakte/README.md b/src/VKontakte/README.md index 3f6d3848d..aaec308ad 100644 --- a/src/VKontakte/README.md +++ b/src/VKontakte/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('vkontakte', \SocialiteProviders\VKontakte\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Vatsim/README.md b/src/Vatsim/README.md index aff14af45..0bfc39cf4 100644 --- a/src/Vatsim/README.md +++ b/src/Vatsim/README.md @@ -23,6 +23,21 @@ See [Configure VATSIM Connect Authentication](https://github.com/vatsimnetwork/d ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('vatsim', \SocialiteProviders\Vatsim\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Venmo/README.md b/src/Venmo/README.md index f74515771..7c6a9f9c2 100644 --- a/src/Venmo/README.md +++ b/src/Venmo/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('venmo', \SocialiteProviders\Venmo\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Vercel/README.md b/src/Vercel/README.md index be1278481..819d14305 100644 --- a/src/Vercel/README.md +++ b/src/Vercel/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('vercel', \SocialiteProviders\Vercel\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/VersionOne/README.md b/src/VersionOne/README.md index 882e34bef..b873406ec 100644 --- a/src/VersionOne/README.md +++ b/src/VersionOne/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('versionone', \SocialiteProviders\VersionOne\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Vimeo/README.md b/src/Vimeo/README.md index fa4b05d6b..a791ce56f 100644 --- a/src/Vimeo/README.md +++ b/src/Vimeo/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('vimeo', \SocialiteProviders\Vimeo\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Wave/README.md b/src/Wave/README.md index fcf3a026c..b144167c9 100644 --- a/src/Wave/README.md +++ b/src/Wave/README.md @@ -25,20 +25,34 @@ Create a new application in the Wave Developer Portal to get the Client ID and C ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('wave', \SocialiteProviders\Wave\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. -Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. -See the [Base Installation Guide](https://socialiteproviders.com/usage/) for -detailed instructions. +Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. ```php protected $listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ - // ... other providers - \SocialiteProviders\Wave\WaveExtendSocialite::class.'@handle', + // ... other providers + \SocialiteProviders\Wave\WaveExtendSocialite::class.'@handle', ], ]; ``` +
### Usage diff --git a/src/WeChatServiceAccount/README.md b/src/WeChatServiceAccount/README.md index e22a1c8ab..8c1f21dba 100644 --- a/src/WeChatServiceAccount/README.md +++ b/src/WeChatServiceAccount/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('wechat_service_account', \SocialiteProviders\WeChatServiceAccount\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/WeChatWeb/README.md b/src/WeChatWeb/README.md index 5ebacb8b9..95c7f4216 100644 --- a/src/WeChatWeb/README.md +++ b/src/WeChatWeb/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('wechat_web', \SocialiteProviders\WeChatWeb\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Webex/README.md b/src/Webex/README.md index ae1772fdb..8957043ea 100644 --- a/src/Webex/README.md +++ b/src/Webex/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('webex', \SocialiteProviders\Webex\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Webflow/README.md b/src/Webflow/README.md index 65adad1c7..bb3b3c9f4 100644 --- a/src/Webflow/README.md +++ b/src/Webflow/README.md @@ -22,6 +22,21 @@ See the [Webflow Developer Docs](https://developers.webflow.com/docs/oauth) for ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('webflow', \SocialiteProviders\Webflow\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -34,6 +49,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Weibo/README.md b/src/Weibo/README.md index 4fbf5fcc7..bd799687c 100644 --- a/src/Weibo/README.md +++ b/src/Weibo/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('weibo', \SocialiteProviders\Weibo\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Weixin/README.md b/src/Weixin/README.md index bdc7af4b6..a2763a700 100644 --- a/src/Weixin/README.md +++ b/src/Weixin/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('weixin', \SocialiteProviders\Weixin\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/WeixinWeb/README.md b/src/WeixinWeb/README.md index 1b494db2a..54e1bafb9 100644 --- a/src/WeixinWeb/README.md +++ b/src/WeixinWeb/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('weixinweb', \SocialiteProviders\WeixinWeb\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Whmcs/README.md b/src/Whmcs/README.md index e38f3dc7a..cf4c45a14 100644 --- a/src/Whmcs/README.md +++ b/src/Whmcs/README.md @@ -25,6 +25,21 @@ Follow [this link](https://docs.whmcs.com/OpenID_Connect) to create OpenID crede ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('whmcs', \SocialiteProviders\Whmcs\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -37,6 +52,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Withings/README.md b/src/Withings/README.md index 183533941..9d53e5765 100644 --- a/src/Withings/README.md +++ b/src/Withings/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('withings', \SocialiteProviders\Withings\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/WordPress/README.md b/src/WordPress/README.md index 27cf3ce64..ce114e774 100644 --- a/src/WordPress/README.md +++ b/src/WordPress/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('wordpress', \SocialiteProviders\WordPress\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Worldcoin/README.md b/src/Worldcoin/README.md index 61d90cb28..7d07b9e0a 100644 --- a/src/Worldcoin/README.md +++ b/src/Worldcoin/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('worldcoin', \SocialiteProviders\Worldcoin\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Xero/README.md b/src/Xero/README.md index 36d2e318f..609b2db90 100644 --- a/src/Xero/README.md +++ b/src/Xero/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('xero', \SocialiteProviders\Xero\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Xing/README.md b/src/Xing/README.md index 0b0791c0a..f581d3de2 100644 --- a/src/Xing/README.md +++ b/src/Xing/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('xing', \SocialiteProviders\Xing\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Yahoo/README.md b/src/Yahoo/README.md index 8207f1fcb..17fe26400 100644 --- a/src/Yahoo/README.md +++ b/src/Yahoo/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('yahoo', \SocialiteProviders\Yahoo\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Yammer/README.md b/src/Yammer/README.md index d32745e67..46485bd4f 100644 --- a/src/Yammer/README.md +++ b/src/Yammer/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('yammer', \SocialiteProviders\Yammer\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Yandex/README.md b/src/Yandex/README.md index 2204a4c07..b1a0be4f9 100644 --- a/src/Yandex/README.md +++ b/src/Yandex/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('yandex', \SocialiteProviders\Yandex\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Yiban/README.md b/src/Yiban/README.md index 66a36d27c..981610fe8 100644 --- a/src/Yiban/README.md +++ b/src/Yiban/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('yiban', \SocialiteProviders\Yiban\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/YouTube/README.md b/src/YouTube/README.md index a6ca932f7..fb50b27ba 100644 --- a/src/YouTube/README.md +++ b/src/YouTube/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('youtube', \SocialiteProviders\YouTube\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Zalo/README.md b/src/Zalo/README.md index 349800142..034f5e053 100644 --- a/src/Zalo/README.md +++ b/src/Zalo/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('zalo', \SocialiteProviders\Zalo\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Zendesk/README.md b/src/Zendesk/README.md index 0ffcdfc91..f7a2625e7 100644 --- a/src/Zendesk/README.md +++ b/src/Zendesk/README.md @@ -23,6 +23,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('zendesk', \SocialiteProviders\Zendesk\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -35,6 +50,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Zoho/README.md b/src/Zoho/README.md index 461e87510..ecb4b3a83 100644 --- a/src/Zoho/README.md +++ b/src/Zoho/README.md @@ -24,6 +24,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('zoho', \SocialiteProviders\Zoho\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -36,6 +51,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/Zoom/README.md b/src/Zoom/README.md index 653950c6a..b9f6157ce 100644 --- a/src/Zoom/README.md +++ b/src/Zoom/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('zoom', \SocialiteProviders\Zoom\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/src/xREL/README.md b/src/xREL/README.md index 63f32dd5d..6055af33c 100644 --- a/src/xREL/README.md +++ b/src/xREL/README.md @@ -20,6 +20,21 @@ Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) { + $event->extendSocialite('xrel', \SocialiteProviders\xREL\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -32,6 +47,7 @@ protected $listen = [ ], ]; ``` +
### Usage diff --git a/tools/doc-upgrade.php b/tools/doc-upgrade.php new file mode 100644 index 000000000..6faa0ec2c --- /dev/null +++ b/tools/doc-upgrade.php @@ -0,0 +1,69 @@ +extendSocialite('%PROVIDER_ALIAS%', \SocialiteProviders\%PROVIDER%\Provider::class); +}); +``` +
+ +Laravel 10 or below + +Configure the package's listener to listen for `SocialiteWasCalled` events. + +Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. + +```php +protected \$listen = [ + \SocialiteProviders\Manager\SocialiteWasCalled::class => [ + // ... other providers + \SocialiteProviders\%PROVIDER%\%PROVIDER%ExtendSocialite::class.'@handle', + ], +]; +``` +
+ +### Usage +DOC; + +$directories = array_map('basename', glob('../src'.'/*', GLOB_ONLYDIR)); + +foreach ($directories as $provider) { + $path = sprintf('%s/../src/%s/README.md', __DIR__, $provider); + if (!file_exists($path)) { + continue; + } + + $existingReadmeContent = file_get_contents($path); + + if (str_contains($existingReadmeContent, '#### Laravel 11+')) { + continue; + } + + $newContent = preg_replace('/### Add provider event listener\n(.*)\n### Usage/sm', $stub, $existingReadmeContent); + + preg_match( + "/extendSocialite\('(.*?)',/", + file_get_contents(sprintf('%s/../src/%s/%sExtendSocialite.php', __DIR__, $provider, $provider)), + $providerAlias + ); + + $doc = str_replace( + ['%PROVIDER%', '%PROVIDER_LOWER%', '%PROVIDER_UPPER%', '%PROVIDER_ALIAS%'], + [$provider, strtolower($provider), strtoupper($provider), $providerAlias[1] ?? $provider], + $newContent + ); + + file_put_contents($path, $doc); + + echo sprintf("Updated doc for provider: %s\n", $provider); +} diff --git a/tools/docgen.php b/tools/docgen.php index 15139de84..8b9d8216d 100644 --- a/tools/docgen.php +++ b/tools/docgen.php @@ -23,6 +23,21 @@ ### Add provider event listener +#### Laravel 11+ + +In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method. + +* Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers. + +```php +Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled \$event) { + \$event->extendSocialite('%PROVIDER_ALIAS%', \SocialiteProviders\%PROVIDER%\Provider::class); +}); +``` +
+ +Laravel 10 or below + Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions. @@ -31,10 +46,11 @@ protected \$listen = [ \SocialiteProviders\Manager\SocialiteWasCalled::class => [ // ... other providers - 'SocialiteProviders\\\%PROVIDER%\\\%PROVIDER%ExtendSocialite@handle', + \SocialiteProviders\%PROVIDER%\%PROVIDER%ExtendSocialite::class.'@handle', ], ]; ``` +
### Usage