PHPackages                             vouchedfor/token-bundle - 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. vouchedfor/token-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

vouchedfor/token-bundle
=======================

Provides support for the use of an external token encoder/decoder

18.4k↓36.5%PHP

Since Mar 5Pushed 4y ago3 watchersCompare

[ Source](https://github.com/vouchedfor/TokenBundle)[ Packagist](https://packagist.org/packages/vouchedfor/token-bundle)[ RSS](/packages/vouchedfor-token-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Token Bundle
============

[](#token-bundle)

Provides support for the use of an external token encoder/decoder

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

[](#installation)

First, install it with composer:

```
composer require vouchedfor/token-bundle:dev-master

```

Then, add the following in your **AppKernel** bundles (assuming 'new DataDog\\AuditBundle\\DataDogAuditBundle(),' has been added previously).

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        ...
        new VouchedFor\TokenBundle\VouchedForTokenBundle(),
        ...
    );
    ...
}

```

Add the url of the endpoint responsible for encoding/decoding tokens to `config.yml`. For example:

```
// app/config/config.yml
vouched_for_token:
    url: 'http://token-local.vouchedfor.co.uk/v2/token/'

```

License
-------

[](#license)

The Token Bundle is free to use and is licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5d068e6d5363f44158d31dce2809bce36f0fb52812485846ba7595dd1c61069?d=identicon)[vouchedfor](/maintainers/vouchedfor)

---

Top Contributors

[![jonathanstidwillvf](https://avatars.githubusercontent.com/u/14923116?v=4)](https://github.com/jonathanstidwillvf "jonathanstidwillvf (11 commits)")

### Embed Badge

![Health badge](/badges/vouchedfor-token-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/vouchedfor-token-bundle/health.svg)](https://phpackages.com/packages/vouchedfor-token-bundle)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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