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

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

ozznest/token-authenticator
===========================

Symfony bundle to allow you token based authentication

1.3.1(4y ago)061MITPHPPHP &gt;=5.5

Since Feb 3Pushed 4y agoCompare

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

READMEChangelog (3)Dependencies (1)Versions (27)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

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~87 days

Recently: every ~337 days

Total

25

Last Release

1661d ago

Major Versions

v0.1.8 → v1.0.92018-02-16

v0.1.9 → v1.1.02019-04-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/53662425a6d39f5134083c14b86185c8e29b079f17407cfc23d6d4a0826fe0c7?d=identicon)[ozznest](/maintainers/ozznest)

---

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)")[![oznest-ops](https://avatars.githubusercontent.com/u/245680063?v=4)](https://github.com/oznest-ops "oznest-ops (6 commits)")[![ozznest](https://avatars.githubusercontent.com/u/31095437?v=4)](https://github.com/ozznest "ozznest (4 commits)")[![scottjoplin](https://avatars.githubusercontent.com/u/6161186?v=4)](https://github.com/scottjoplin "scottjoplin (1 commits)")

---

Tags

symfonybundleauthAuthenticationtoken

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ozznest-token-authenticator/health.svg)](https://phpackages.com/packages/ozznest-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)
