PHPackages                             youshido/token-authenticator - 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. youshido/token-authenticator

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

youshido/token-authenticator
============================

Symfony bundle to allow you token based authentication

1.1.1(5y ago)09.1k↓100%2[2 PRs](https://github.com/Youshido/TokenAuthenticatorBundle/pulls)MITPHPPHP &gt;=5.5

Since Feb 3Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Youshido/TokenAuthenticatorBundle)[ Packagist](https://packagist.org/packages/youshido/token-authenticator)[ Docs](https://github.com/Youshido/TokenAuthenticationBundle)[ RSS](/packages/youshido-token-authenticator/feed)WikiDiscussions master Synced 1mo ago

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

TokenAuthenticationBundle
=========================

[](#tokenauthenticationbundle)

This bundle allow you to use a token authentication mechanism similar to OAuth but much more simplified.

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

[](#installation)

First, enable bundle in your `AppKernel` by adding it to the `registerBundles` method:

```
...
            new Youshido\TokenAuthenticationBundle\TokenAuthenticationBundle(),
```

Then create provider and firewall under `app/config/security.yml` (if you don't have encoder yet – might as well add it here):

```
security:
    providers:
        api_user_provider:
            id: token_user_provider

    encoders:
        AppBundle\Entity\User: md5

    firewalls:
        api_firewall:
            pattern: ^/.*
            stateless: true
            simple_preauth:
                authenticator: token_authenticator
            provider: api_user_provider
            anonymous: ~
```

Now add your model class name to the service declaration `app/config/config.yml`:

```
token_authentication:
    user_model: "AppBundle\\Entity\\User"
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~76 days

Recently: every ~254 days

Total

24

Last Release

1991d ago

Major Versions

v0.1.9 → v1.0.92018-02-16

### Community

Maintainers

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

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

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

---

Top Contributors

[![portey](https://avatars.githubusercontent.com/u/1961696?v=4)](https://github.com/portey "portey (16 commits)")[![viniychuk](https://avatars.githubusercontent.com/u/1412341?v=4)](https://github.com/viniychuk "viniychuk (11 commits)")[![scottjoplin](https://avatars.githubusercontent.com/u/6161186?v=4)](https://github.com/scottjoplin "scottjoplin (1 commits)")

---

Tags

symfonybundleauthAuthenticationtoken

### Embed Badge

![Health badge](/badges/youshido-token-authenticator/health.svg)

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

###  Alternatives

[kreait/firebase-tokens

A library to work with Firebase tokens

24040.8M14](/packages/kreait-firebase-tokens)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

63397.4k6](/packages/web-auth-webauthn-symfony-bundle)

PHPackages © 2026

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