PHPackages                             diagro/lib\_laravel\_token - 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. diagro/lib\_laravel\_token

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

diagro/lib\_laravel\_token
==========================

Library for Laravel applications to encode/decode Diagro tokens

10.0.0(1y ago)0817BeerwarePHPPHP ^8.1

Since Feb 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/diagro-git/lib_laravel_token)[ Packagist](https://packagist.org/packages/diagro/lib_laravel_token)[ RSS](/packages/diagro-lib-laravel-token/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (3)Used By (7)

[![](https://camo.githubusercontent.com/325e42b3bf080dd1bc33264b9402a504541a44e0c94d1502b9f0949824090348/68747470733a2f2f64696167726f2e62652f6173736574732f696d672f64696167726f2d6c6f676f2e737667)](https://www.diagro.be)

[![Diagro token library](https://camo.githubusercontent.com/3098d0e0456fc7d5bb71f7df2a90cd8b043fb3ef4544be928b952d3e0a98a843/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f6a6563742d6c69625f6c61726176656c5f746f6b656e2d79656c6c6f77677265656e)](https://camo.githubusercontent.com/3098d0e0456fc7d5bb71f7df2a90cd8b043fb3ef4544be928b952d3e0a98a843/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f6a6563742d6c69625f6c61726176656c5f746f6b656e2d79656c6c6f77677265656e)[![Diagro service](https://camo.githubusercontent.com/a12b18cef1becf97b15535b43c90e88121420bd070d64ae62f285861b368c724/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747970652d6c6962726172792d696e666f726d6174696f6e616c)](https://camo.githubusercontent.com/a12b18cef1becf97b15535b43c90e88121420bd070d64ae62f285861b368c724/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747970652d6c6962726172792d696e666f726d6174696f6e616c)[![PHP](https://camo.githubusercontent.com/88b040801c4905d10446da4d75ac0069b98b8e05153ec7fdf67c52a0cf0d4c1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312d626c756576696f6c6574)](https://camo.githubusercontent.com/88b040801c4905d10446da4d75ac0069b98b8e05153ec7fdf67c52a0cf0d4c1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312d626c756576696f6c6574)[![Laravel framework](https://camo.githubusercontent.com/eae690f84327a9c89c2c0b22ceda76f22a2b882c6ef200985be689d222423b86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d392e302d726564)](https://camo.githubusercontent.com/eae690f84327a9c89c2c0b22ceda76f22a2b882c6ef200985be689d222423b86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d392e302d726564)

Description
-----------

[](#description)

This library contains the token classes (AT, AAT and BAT) that are used in the backend and frontend applications that use the Laravel framework. The base class is `Token` and you should put your own OpenSSL public/private key in there with a passphrase.

The child token classes only specify their payload.

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

[](#installation)

- Composer: `diagro/lib_laravel_token: "^1.6"`

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance48

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

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

381d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dca2fd1216ba699bad0020b482994e4843f936f70b88408c25744e5914f7f95?d=identicon)[diagro-git](/maintainers/diagro-git)

---

Top Contributors

[![stijn1989](https://avatars.githubusercontent.com/u/6877485?v=4)](https://github.com/stijn1989 "stijn1989 (21 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/diagro-lib-laravel-token/health.svg)

```
[![Health](https://phpackages.com/badges/diagro-lib-laravel-token/health.svg)](https://phpackages.com/packages/diagro-lib-laravel-token)
```

###  Alternatives

[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[rainlab/user-plugin

User plugin for October CMS

11955.0k15](/packages/rainlab-user-plugin)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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