PHPackages                             jitesoft/socialite-hub - 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. jitesoft/socialite-hub

ActiveLibrary

jitesoft/socialite-hub
======================

Jetbrains Hub OAuth2 Provider for Laravel Socialite.

1.0.1(8y ago)027MITPHPPHP ^5.6 || ^7

Since Jan 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jitesoft/socialite-jb-hub)[ Packagist](https://packagist.org/packages/jitesoft/socialite-hub)[ RSS](/packages/jitesoft-socialite-hub/feed)WikiDiscussions master Synced 1mo ago

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

Socialite provider: Jetbrains HUB.
==================================

[](#socialite-provider-jetbrains-hub)

```
require jitesoft/socialite-hub
```

Require socialite and add the `SocialiteServiceProvider` and `Manager\ServiceProvider` to the providers array in the `app.php` file:

```
'providers' => [
    Laravel\Socialite\SocialiteServiceProvider::class,
    SocialiteProviders\Manager\ServiceProvider::class,
]
```

If wanted, you can add the Socialite facade to the alias class (I prefer and recommend this):

```
'aliases' => [
    'Socialite' => Laravel\Socialite\Facades\Socialite::class
]
```

Add the provider to the 'services' config array:

```
return [
    'jetbrains-hub' => [
        'client_id'     => env('JB_HUB_CLIENT_ID', ''),
        'client_secret' => env('JB_HUB_CLIENT_SECRET', ''),
        'base_url'      => env('JB_HUB_URL', 'https://hub.yourpage.tld'),
        'redirect'      => env('APP_URL', 'http://localhost') . "/your/callback"
    ],
];
```

Add the socialite extension to the events provider:

```
protected $listen = [
    SocialiteWasCalled::class => [
        JetbrainsHubExtendSocialite::class . "@handle"
    ]
];
```

Add your callback routes:

```
$router->get('/your/redirect', function() {
    // Redirect!
    return Socialite::driver('jetbrains-hub')->redirect();
});

$router->get('/your/callback', function() {
    $user = Socialite::driver('jetbrains-hub')->user();
    // Yay you got your user (I hope!)
});
```

Create a login form and redirect a button to the `your/redirect`-endpoint.

License
-------

[](#license)

```
MIT License

  Copyright (c) 2017 JiteSoft

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.7% 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 ~242 days

Total

2

Last Release

3165d ago

PHP version history (2 changes)1.0.0PHP ^5.6 || ^7.0

1.0.1PHP ^5.6 || ^7

### Community

Maintainers

![](https://www.gravatar.com/avatar/07b2a82fa106892922a64f5a0456ed429fc8d1900f9d29be5475d5083b8f5304?d=identicon)[Jitesoft](/maintainers/Jitesoft)

---

Top Contributors

[![Johannestegner](https://avatars.githubusercontent.com/u/2530181?v=4)](https://github.com/Johannestegner "Johannestegner (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

### Embed Badge

![Health badge](/badges/jitesoft-socialite-hub/health.svg)

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

###  Alternatives

[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[socialiteproviders/apple

Apple OAuth2 Provider for Laravel Socialite

618.4M8](/packages/socialiteproviders-apple)[socialiteproviders/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)[socialiteproviders/microsoft-azure

Microsoft Azure OAuth2 Provider for Laravel Socialite

556.0M19](/packages/socialiteproviders-microsoft-azure)[socialiteproviders/laravelpassport

LaravelPassport OAuth2 Provider for Laravel Socialite

621.3M7](/packages/socialiteproviders-laravelpassport)[socialiteproviders/discord

Discord OAuth2 Provider for Laravel Socialite

422.0M17](/packages/socialiteproviders-discord)

PHPackages © 2026

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