PHPackages                             alancole/true-layer - 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. [API Development](/categories/api)
4. /
5. alancole/true-layer

ActiveLibrary[API Development](/categories/api)

alancole/true-layer
===================

A simple SDK for working with TrueLayer APIs

1.1(7y ago)43575[3 PRs](https://github.com/waxim/TrueLayer/pulls)MITPHP

Since Feb 3Pushed 3y ago2 watchersCompare

[ Source](https://github.com/waxim/TrueLayer)[ Packagist](https://packagist.org/packages/alancole/true-layer)[ RSS](/packages/alancole-true-layer/feed)WikiDiscussions master Synced 3d ago

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

TrueLayer SDK
=============

[](#truelayer-sdk)

**Start a token request**

```

$tl = new TrueLayer\Connection(
    $client_id,
    $client_secret,
    $redirect_uri
);

header('Location: ' . $tl->getAuthorizartionLink());

```

**Exchange the token and get account info**

```
$token = $tl->getOauthToken($code);

$accounts = (new TrueLayer\Bank\Accounts($tl, $token))
            ->getAllAccounts();

var_dump($accounts);

```

Contributors
------------

[](#contributors)

Kevin Diem - [kgdiem](https://github.com/kgdiem)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 50.8% 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 ~26 days

Total

3

Last Release

2605d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cee12237f7ad937cba998c0a4745f87986389a414a529309c0ab15095801d20?d=identicon)[alancole](/maintainers/alancole)

---

Top Contributors

[![S33G](https://avatars.githubusercontent.com/u/655807?v=4)](https://github.com/S33G "S33G (32 commits)")[![waxim](https://avatars.githubusercontent.com/u/3833567?v=4)](https://github.com/waxim "waxim (27 commits)")[![yarlson](https://avatars.githubusercontent.com/u/751584?v=4)](https://github.com/yarlson "yarlson (3 commits)")[![kgdiem](https://avatars.githubusercontent.com/u/13109365?v=4)](https://github.com/kgdiem "kgdiem (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alancole-true-layer/health.svg)

```
[![Health](https://phpackages.com/badges/alancole-true-layer/health.svg)](https://phpackages.com/packages/alancole-true-layer)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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