PHPackages                             devadamlar/laravel-id3global - 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. devadamlar/laravel-id3global

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

devadamlar/laravel-id3global
============================

Acts as an adapter between Laravel Eloquent and GBG ID3global service

1.0.0(4y ago)02.0kMITPHPPHP ^7.4|^8.0

Since Sep 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/devadamlar/laravel-id3global)[ Packagist](https://packagist.org/packages/devadamlar/laravel-id3global)[ RSS](/packages/devadamlar-laravel-id3global/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Introduction
------------

[](#introduction)

This package converts Eloquent models to an Identity object that can be sent to verify users through [ID3global API](https://www.gbgplc.com/apac/products/id-verification/).

Installation
------------

[](#installation)

Install the library:

```
composer require devadamlar/laravel-id3global
```

Define the following environment variables:

```
ID3GLOBAL_USERNAME=
ID3GLOBAL_PASSWORD=
```

The pilot site will be used if the `APP_ENV` is other than `Production`. You can override this by setting the `ID3GLOBAL_USE_PILOT` variable in the environment file.

Usage
-----

[](#usage)

Use the `Verifiable` trait inside your Eloquent models to convert them into a `GlobalInputData` object with the `makeInputData` method. You can now call `authenticateSp` method of the `Id3globalService` facade and pass in the created object to do a verification.

You can set the `$globalInputData` array inside your model to override the names of attributes to be mapped to the ID3global's `GlobalInputData` properties. If you want to map an attribute from a relationship, put the name of the relationship, and the attribute separated by a dot:

```
use DevAdamlar\LaravelId3global\Verifiable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;

class User extends Model
{
    use Verifiable;

    protected array $globalInputData = [
        'Personal.PersonalDetails.Gender' => 'sex',
        'ContactDetails.MobileTelephone.Number' => 'contact.mobile',
    ];

    public function contact(): HasOne
    {
        return $this->hasOne(Contact::class);
    }
}

class Contact extends Model
{

}
```

Some commonly-used attributes will be automatically mapped to the corresponding fields:

`GlobalInputData` propertyCorresponding model attribute`Personal.PersonalDetails.Forename``first_name``Personal.PersonalDetails.MiddleName``middle_name``Personal.PersonalDetails.Surname``last_name``Personal.PersonalDetails.Gender``gender``Personal.PersonalDetails.DateOfBirth``birthday``Personal.PersonalDetails.CountryOfBirth``birth_country``Addresses.CurrentAddress.Street``street``Addresses.CurrentAddress.ZipPostcode``post_code``Addresses.CurrentAddress.City``city``Addresses.CurrentAddress.Country``country``ContactDetails.Email``email``ContactDetails.LandTelephone.Number``landline``ContactDetails.MobileTelephone.Number``mobile``ContactDetails.WorkTelephone.Number``work_phone`If you need to override some properties on the fly, pass an array with the overridden properties as a value to the corresponding keys:

```
$user = User::find(1);
$user->makeInputData([
    'ContactDetails.MobileTelephone.Number' => '+994502000000'
]);
```

Refer to the [ID3global's WSDL documentation](http://www.id3globalsupport.com/Website/content/Web-Service/WSDL%20Page/WSDL%20HTML/ID3%20Global%20WSDL-%20Live.xhtml) to see the structure of the `GlobalInputData` class.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

1698d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43381efbe556c708dfd4fe9c89cfdd4053905fb3909033da33c4aa63aeb7698c?d=identicon)[elnurvl](/maintainers/elnurvl)

---

Top Contributors

[![elnurvl](https://avatars.githubusercontent.com/u/7970970?v=4)](https://github.com/elnurvl "elnurvl (22 commits)")

---

Tags

laravelidentityidentity verificationID3GlobalGBGGBG PLC

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/devadamlar-laravel-id3global/health.svg)

```
[![Health](https://phpackages.com/badges/devadamlar-laravel-id3global/health.svg)](https://phpackages.com/packages/devadamlar-laravel-id3global)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[pschocke/laravel-telegram-login-widget

Easily integrate Telegrams login widget into your Laravel application to send Telegram messages

1610.4k](/packages/pschocke-laravel-telegram-login-widget)

PHPackages © 2026

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