PHPackages                             ivao-colombia/api-login - 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-colombia/api-login

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

ivao-colombia/api-login
=======================

A Laravel Socialite Provider for IVAO

1.0(4y ago)266MITPHPPHP ^7.3|^8.0

Since Jul 13Pushed 2y agoCompare

[ Source](https://github.com/IVAO-Colombia/api-login)[ Packagist](https://packagist.org/packages/ivao-colombia/api-login)[ RSS](/packages/ivao-colombia-api-login/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (2)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/workflows/Test/badge.svg)](https://github.com/ivao-brasil/ivao-socialite/workflows/Test/badge.svg)[![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)

Note

This repository is outdated and discontinued

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.

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

1762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e631fed4a1d3d50a1107da48903ed1b56706adb3d837d1c8c9923cda844cef7?d=identicon)[21Insight](/maintainers/21Insight)

---

Top Contributors

[![jcuervom](https://avatars.githubusercontent.com/u/108697165?v=4)](https://github.com/jcuervom "jcuervom (3 commits)")[![rcomunica](https://avatars.githubusercontent.com/u/90717365?v=4)](https://github.com/rcomunica "rcomunica (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ivao-colombia-api-login/health.svg)

```
[![Health](https://phpackages.com/badges/ivao-colombia-api-login/health.svg)](https://phpackages.com/packages/ivao-colombia-api-login)
```

###  Alternatives

[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)
