PHPackages                             k2oumais/gleif-sdk - 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. k2oumais/gleif-sdk

ActiveLibrary

k2oumais/gleif-sdk
==================

A GLEIF-SDK made with Saloon v2

0.5.5(3y ago)211MITPHPPHP ^8.1|^8.2

Since Mar 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/K2ouMais/gleif-sdk)[ Packagist](https://packagist.org/packages/k2oumais/gleif-sdk)[ Docs](https://github.com/k2oumais/gleif-sdk)[ RSS](/packages/k2oumais-gleif-sdk/feed)WikiDiscussions main Synced 1mo ago

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

GLEIF-SDK for PHP
=================

[](#gleif-sdk-for-php)

The GLEIF-SDK provides a simple and object-oriented way for interaction with the [GLEIF-API](https://documenter.getpostman.com/view/7679680/SVYrrxuU?version=latest#e0f078b5-5c9c-426f-b045-dd258f9a5565) powered by [Saloon](https://docs.saloon.dev) for PHP.

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

[](#installation)

You can install the package via composer:

```
composer require k2oumais/gleif-sdk
```

You can publish the config file with:

```
php artisan vendor:publish --tag="gleif-sdk-config"
```

This is the contents of the published config file:

```
return [
    'gleif-api' => [
        'url' => 'https://api.gleif.org/api',
    ],
];
```

Usage
-----

[](#usage)

```
$gleif = new \K2ouMais\Gleif\GleifApi();

###### LEI-Records >> LVL1-Information

$gleif->send(new AllLeiRecords())->json();
$gleif->send(new LeiRecordById('5299000J2N45DDNE4Y28'))->json();

###### LEI-Records >> LVL2-Relationship Information >> Parents

// Get Direct/Ultimate Parent LEI, Relationships and Exceptions
$gleif->send(new DirectParentLeiRecord('ZZG38T0MDR3QY1ETUA76'))->json();
$gleif->send(new UltimateParentLeiRecord('01TRDHWDCL69YP41S025'))->json();

$gleif->send(new DirectParentRelationships('549300COKYB5EGSU1838'))->json();
$gleif->send(new UltimateParentRelationships('0292003540H0S4VA7A50'))->json();

$gleif->send(new DirectParentReportingExceptions('001GPB6A9XPE8XJICC14'))->json();
$gleif->send(new UltimateParentReportingExceptions('001GPB6A9XPE8XJICC14'))->json();

###### LEI-Records >> LVL2-Relationship Information >> Children

// Get Direct/Ultimate Children and Child Relationships
$gleif->send(new DirectChildren('001GPB6A9XPE8XJICC14'))->json();
$gleif->send(new UltimateChildren('001GPB6A9XPE8XJICC14'))->json();

$gleif->send(new DirectChildRelationships('ZZG38T0MDR3QY1ETUA76'))->json();
$gleif->send(new UltimateChildRelationships('01TRDHWDCL69YP41S025'))->json();

###### LEI-Records >> Related LEI Records

// Get an Associated Entity, Successor Entity or the Managing LOU
$gleif->send(new AssociatedEntity('335800OGLWMREXSGH297'))->json();
$gleif->send(new SuccessorEntity('029200098C3K8BI2D551'))->json();
$gleif->send(new ManagingLou('5493001KJTIIGC8Y1R12'))->json();

###### LEI-Records >> ISINs

// Get ISINs
$gleif->send(new Isins('529900W18LQJJN6SJ336'))->json();

###### LEI-Records >> LEI Issuer

// Get the LEI Issuer
$gleif->send(new LeiIssuer('5299000J2N45DDNE4Y28'))->json();

###### LEI Autocompletions
$gleif->send(new AutoCompletions('Apple', 'fulltext'))->json();

###### LEI Countries, Regions, Jurisdictions, Issuers, Registration Agents and Registration Authorities

// Countries
$gleif->send(new AllCountryCodes())->json();
$gleif->send(new CountryCodeById('DE'))->json();

// Regions
$gleif->send(new AllRegions())->json();
$gleif->send(new RegionById('DE-HE'))->json();

// Jurisdictions
$gleif->send(new AllJurisdictions())->json();
$gleif->send(new JurisdictionById('DE'))->json();

// Issuers
$gleif->send(new AllLeiIssuers())->json();
$gleif->send(new LeiIssuerById('259400L3KBYEVNHEJF55'))->json();
$gleif->send(new LeiIssuerJurisdictionById('259400L3KBYEVNHEJF55'))->json();

// Registration Agents
$gleif->send(new AllRegistrationAgents())->json();
$gleif->send(new RegistrationAgentById('5d10d4de691522.63705283'))->json();

// Registration Authorities
$gleif->send(new AllRegistrationAuthorities())->json();
$gleif->send(new RegistrationAuthorityById('RA000001'))->json();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [João Alves](https://github.com/K2ouMais)
- [Saloon](https://docs.saloon.dev/)
- [GLEIF](https://www.gleif.org/)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72579753447496daebf0135fe32cc43e44e0e1003a6349c6fbb051a018a6baa8?d=identicon)[K2ouMais](/maintainers/K2ouMais)

---

Top Contributors

[![K2ouMais](https://avatars.githubusercontent.com/u/52510455?v=4)](https://github.com/K2ouMais "K2ouMais (45 commits)")

---

Tags

financegleifgleif-apilegal-entity-identifierleiphpsdk-phplaravelK2ouMaisgleif-sdk

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/k2oumais-gleif-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/k2oumais-gleif-sdk/health.svg)](https://phpackages.com/packages/k2oumais-gleif-sdk)
```

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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