PHPackages                             upwebdesign/infusionsoft-socialite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. upwebdesign/infusionsoft-socialite

ActivePlugin[Authentication &amp; Authorization](/categories/authentication)

upwebdesign/infusionsoft-socialite
==================================

Infusionsoft OAuth2 Provider for Laravel Socialite

v1.0.1(4y ago)04MITPHPPHP ^7.4|^8.0

Since Feb 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/upwebdesign/infusionsoft-socialite)[ Packagist](https://packagist.org/packages/upwebdesign/infusionsoft-socialite)[ RSS](/packages/upwebdesign-infusionsoft-socialite/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Infusionsoft OAuth2 Provider for Laravel Socialite
==================================================

[](#infusionsoft-oauth2-provider-for-laravel-socialite)

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

```
composer require upwebdesign/infusionsoft-socialite
```

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'infusionsoft' => [
    'client_id' => env('INFUSIONSOFT_CLIENT_ID'),
    'client_secret' => env('INFUSIONSOFT_CLIENT_SECRET'),
    'redirect' => env('INFUSIONSOFT_REDIRECT_URI', '/auth/infusionsoft/callback'),
    'auth' => env('INFUSIONSOFT_AUTH_URI', '/auth/infusionsoft/redirect'),
],
```

The `redirect` URI is a local URL that will generate the necessary information to send to Infusionsoft to connect via OAuth. The `callback` URI is where the user will be returned after successfully authenticated.

### Update your `.env`

[](#update-your-env)

Of course redirect and callback are both optional.

INFUSIONSOFT\_CLIENT\_ID= INFUSIONSOFT\_CLIENT\_SECRET= INFUSIONSOFT\_REDIRECT\_URI= INFUSIONSOFT\_CALLBACK\_URI=

### Events

[](#events)

After the user has been authenticated, the `InfusionsoftSoclialiteAuthenticated` event will fire. You can listen for this event to create your new user in your account. Be sure to import the `InfusionsoftSoclialiteAuthenticated` class.

```
protected $listen = [
    Registered::class => [SendEmailVerificationNotification::class],
    InfusionsoftSocialiteAuthenticated::class =>[
      // Place your listener here...
    ]
];
```

This event will return a Socialite User object with the following keys. Id and nickname will always be null because Infusionsoft does not use these fields with OAuth.

```
Laravel\Socialite\Two\User {#319 ▼
  +token: "********"
  +refreshToken: "********"
  +expiresIn: 86399
  +approvedScopes: array:1 [▶]
  +id: null
  +nickname: null
  +name: "Jane Doe"
  +email: "jane@example.com"
  +avatar: "https://cdn.com/avatar.jpg"
  +user: array:14 [▼
    "name" => "Jane Doe"
    "email" => "jane@example.com"
    "website" => "https://google.com/"
    "phone" => null
    "address" => array:9 [▶]
    "phone_ext" => null
    "time_zone" => "America/New_York"
    "logo_url" => "https://cdn.com/avatar.jpg"
    "currency_code" => "USD"
    "language_tag" => "en-US"
    "business_type" => null
    "business_goals" => []
    "business_primary_color" => null
    "business_secondary_color" => null
  ]
}

```

### Alt usage

[](#alt-usage)

You may also use the provider like you would regularly use Socialite (assuming you have the facade installed):

To start the OAuth flow, call the redirect method to request an authorization code.

```
return Socialite::driver('infusionsoft')->redirect();
```

Retrieve the token using the authorization code to do with what you will.

```
$token = Socialite::driver('infusionsoft')->getToken();
```

Get account data for the Infusionsoft connection.

```
$user return Socialite::driver('infusionsoft')->user();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1609d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.4

v1.0.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/92a6fe0d542ddb3b01670329a0ca08302bc49db996a0840ad1c87824a6a7e509?d=identicon)[upwebdesign](/maintainers/upwebdesign)

---

Top Contributors

[![upwebdesign](https://avatars.githubusercontent.com/u/1845130?v=4)](https://github.com/upwebdesign "upwebdesign (9 commits)")

### Embed Badge

![Health badge](/badges/upwebdesign-infusionsoft-socialite/health.svg)

```
[![Health](https://phpackages.com/badges/upwebdesign-infusionsoft-socialite/health.svg)](https://phpackages.com/packages/upwebdesign-infusionsoft-socialite)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.0k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
