PHPackages                             flownative/token-authentication - 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. flownative/token-authentication

ActiveNeos-package[Authentication &amp; Authorization](/categories/authentication)

flownative/token-authentication
===============================

General purpose token authentication.

v2.4.0(1y ago)767.9k—0.6%10[1 issues](https://github.com/flownative/flow-token-auth/issues)[1 PRs](https://github.com/flownative/flow-token-auth/pulls)1MITPHP

Since Jun 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/flownative/flow-token-auth)[ Packagist](https://packagist.org/packages/flownative/token-authentication)[ Docs](http://github.com/flownative/flow-token-auth)[ RSS](/packages/flownative-token-authentication/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (13)Used By (1)

Token based authentication for Neos Flow projects
=================================================

[](#token-based-authentication-for-neos-flow-projects)

This package provides token based authentication for Neos Flow projects. It allows both sessionless and session-based authentication to be used.

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

[](#installation)

Run:

```
composer require flownative/token-authentication

```

Usage
-----

[](#usage)

Run:

```
./flow hashtoken:createhashtoken --roleNames Neos.Neos:Editor

```

Provide the token in your requests

- as request argument `_authenticationHashToken=` or
- as `Authorization` header with the value `Bearer `.

Configuration
-------------

[](#configuration)

The configuration is done as usual in the `Configuration/Settings.yaml` file.

```
Neos:
  Flow:
    security:
      authentication:
        providers:
          'Acme.Com:TokenAuthenticator':
            provider: Flownative\TokenAuthentication\Security\HashTokenProvider
            requestPatterns:
              'Acme.Com:Controllers':
                pattern: ControllerObjectName
                patternOptions:
                  controllerObjectNamePattern: 'Acme\Com\Controller\.*'
```

By default the package uses a sessionless token. If you want to use a session-based token, set the `token` option in the provider configuration:

```
providers:
  'Acme.Com:TokenAuthenticator':
    provider: Flownative\TokenAuthentication\Security\HashTokenProvider
    token: Flownative\TokenAuthentication\Security\SessionStartingHashToken
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance45

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity66

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

Recently: every ~298 days

Total

12

Last Release

385d ago

Major Versions

1.0.0 → 2.0.02019-06-28

1.0.1 → 3.3.x-dev2019-09-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10280881?v=4)[Flownative](/maintainers/flownative)[@flownative](https://github.com/flownative)

---

Top Contributors

[![robinroloff](https://avatars.githubusercontent.com/u/116283647?v=4)](https://github.com/robinroloff "robinroloff (16 commits)")[![kitsunet](https://avatars.githubusercontent.com/u/324408?v=4)](https://github.com/kitsunet "kitsunet (12 commits)")[![kdambekalns](https://avatars.githubusercontent.com/u/95873?v=4)](https://github.com/kdambekalns "kdambekalns (7 commits)")[![Sebobo](https://avatars.githubusercontent.com/u/596967?v=4)](https://github.com/Sebobo "Sebobo (4 commits)")[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (3 commits)")[![cvette](https://avatars.githubusercontent.com/u/6884391?v=4)](https://github.com/cvette "cvette (3 commits)")[![sebastiansommer](https://avatars.githubusercontent.com/u/1651774?v=4)](https://github.com/sebastiansommer "sebastiansommer (2 commits)")[![paxuclus](https://avatars.githubusercontent.com/u/15905038?v=4)](https://github.com/paxuclus "paxuclus (1 commits)")[![2case](https://avatars.githubusercontent.com/u/60891?v=4)](https://github.com/2case "2case (1 commits)")[![robertlemke](https://avatars.githubusercontent.com/u/95582?v=4)](https://github.com/robertlemke "robertlemke (1 commits)")

### Embed Badge

![Health badge](/badges/flownative-token-authentication/health.svg)

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

###  Alternatives

[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)[visanduma/nova-two-factor

Nova Two Factor Authentication

56621.3k](/packages/visanduma-nova-two-factor)[sandstorm/usermanagement

Neos and Flow package for user management, login/logout, password reset and user activation

3828.4k](/packages/sandstorm-usermanagement)

PHPackages © 2026

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