PHPackages                             ivao-brasil/ivao-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. ivao-brasil/ivao-socialite

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

ivao-brasil/ivao-socialite
==========================

A Laravel Socialite Provider for IVAO

v1.3.0(5y ago)09923[3 PRs](https://github.com/ivao-brasil/ivao-socialite/pulls)MITPHPPHP ^7.3|^8.0

Since Sep 16Pushed 3y agoCompare

[ Source](https://github.com/ivao-brasil/ivao-socialite)[ Packagist](https://packagist.org/packages/ivao-brasil/ivao-socialite)[ RSS](/packages/ivao-brasil-ivao-socialite/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (16)Used By (0)

ivao-socialite
==============

[](#ivao-socialite)

[![GitHub release (latest by date)](https://camo.githubusercontent.com/696298e64ec0e2db97f5def4cf5f53765cf2999413e53dca0eb72f14a6833c20/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6976616f2d62726173696c2f6976616f2d736f6369616c697465)](https://camo.githubusercontent.com/696298e64ec0e2db97f5def4cf5f53765cf2999413e53dca0eb72f14a6833c20/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6976616f2d62726173696c2f6976616f2d736f6369616c697465)[![Test](https://github.com/ivao-brasil/ivao-socialite/actions/workflows/test.yaml/badge.svg?branch=develop)](https://github.com/ivao-brasil/ivao-socialite/actions/workflows/test.yaml)[![GitHub](https://camo.githubusercontent.com/7335237ad976ea601bfca0ff317006532b88394bbf165ece8e8a2bcf3d4c0e35/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6976616f2d62726173696c2f6976616f2d736f6369616c697465)](https://camo.githubusercontent.com/7335237ad976ea601bfca0ff317006532b88394bbf165ece8e8a2bcf3d4c0e35/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6976616f2d62726173696c2f6976616f2d736f6369616c697465)[![Quality Gate Status](https://camo.githubusercontent.com/a8e2e5c3a560a6cd7c8aedfb79d6acafff351864647284c0846ac282674416aa/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6976616f2d62726173696c5f6976616f2d736f6369616c697465266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=ivao-brasil_ivao-socialite)[![Packagist Version](https://camo.githubusercontent.com/8fcc1207a83b5a8088d9470ae172d73cdf55763d9b4fc8f21d3bd4222d79bb94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6976616f2d62726173696c2f6976616f2d736f6369616c697465)](https://packagist.org/packages/ivao-brasil/ivao-socialite)

A [Laravel Socialite](https://laravel.com/docs/master/socialite) Provider for IVAO.

Getting Started
---------------

[](#getting-started)

In order to use this package in your Laravel projects, you must first install it. The recommended way to install this package is through Composer.

```
composer require ivao-brasil/ivao-socialite
```

After that, you must add the configuration in your Laravel config file, such as any other Socialite Provider. In order to do it, head over to your `config/services.php` file and add the following session:

```
"ivao" => [
    "redirect" => "/your-callback"
]
```

This callback will be the URL which will be forwarded by IVAO Login API. You can use either an URL or a route path in configuration.

Or, for development purposes, if you need to mock the IVAO login to a local application, you can override the urls called as follows:

```
"ivao" => [
    "redirect" => "/your-callback",
    "ivao-dev-login-url" => "https://localhost/fakeivaologin/",
    "ivao-dev-login-api" => "http://localhost/fakeivaologin/api/",
]
```

After that, you're good to go. You can use it in your code as any other Socialite Provider.

```
namespace App\Http\Controllers;

use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Laravel\Socialite\Facades\Socialite;

class IvaoLoginController
{
    public function redirect()
    {
        return Socialite::driver('ivao')->redirect();
    }

    public function callback()
    {
        $ivaoUser = Socialite::driver('ivao')->user()->getRaw();

        Auth::login(new User($ivaoUser));

        return redirect()->to('home');
    }
}
```

Note that due to restrictions on IVAO API, Socialite user instance is heavily limited: only `getId` and `getName` methods are implemented. We recommend you use the `getRaw()` method, which will return you an associative array with the parsed Login API data. When you call it, you will get something like:

```
[
  "vid" => 385415,
  "firstName" => "Joao Pedro",
  "lastName" => "Henrique",
  "administrativeRating" => 2,
  "atcRating" => 5,
  "pilotRating" => 5,
  "division" => "BR",
  "country" => "BR",
  "staff" => [ "BR-AWM", "WD9" ]
]
```

In case no User Data can be extracted from the API with the provided token, the Socialite `user` method will return `null`.

Issues and contributions
------------------------

[](#issues-and-contributions)

If you found an error/bug/bad behavior, feel free to open an issue reporting it. Also, pull requests are welcome and pretty much appreciated.

License
-------

[](#license)

This project is [MIT Licensed](LICENSE).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~14 days

Recently: every ~26 days

Total

11

Last Release

1916d ago

PHP version history (2 changes)1.0PHP ^7.3

v1.3.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d4e7603a896cd3d072a0f77bf07b9cb12c6f5af69c4549bd01c546a1d281d84?d=identicon)[ivao-brasil](/maintainers/ivao-brasil)

---

Top Contributors

[![jpedroh](https://avatars.githubusercontent.com/u/19294167?v=4)](https://github.com/jpedroh "jpedroh (52 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (31 commits)")[![joelson-c](https://avatars.githubusercontent.com/u/25236114?v=4)](https://github.com/joelson-c "joelson-c (13 commits)")[![lcnssantos](https://avatars.githubusercontent.com/u/20878711?v=4)](https://github.com/lcnssantos "lcnssantos (7 commits)")[![ruymon](https://avatars.githubusercontent.com/u/50504050?v=4)](https://github.com/ruymon "ruymon (2 commits)")[![sslazio1900](https://avatars.githubusercontent.com/u/7404885?v=4)](https://github.com/sslazio1900 "sslazio1900 (2 commits)")[![gefepe](https://avatars.githubusercontent.com/u/58150235?v=4)](https://github.com/gefepe "gefepe (1 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ivao-brasil-ivao-socialite/health.svg)

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

###  Alternatives

[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[metrogistics/laravel-azure-ad-oauth

Provides single-sign-on ability to Microsoft Azure Active Directory enabled apps.

8679.1k1](/packages/metrogistics-laravel-azure-ad-oauth)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)

PHPackages © 2026

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