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)874.2k↓38%10[2 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 2d 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

45

—

FairBetter than 91% of packages

Maintenance40

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

431d 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

[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

1151.0M777](/packages/neos-neos)[neos/media

The Media package

101.2M53](/packages/neos-media)[sandstorm/usermanagement

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

3928.9k](/packages/sandstorm-usermanagement)[sandstorm/neosacl

1463.4k](/packages/sandstorm-neosacl)[unikka/login-as

Plugin for the Neos CMS that enables users to login with other accounts for support reasons e.g.

1317.5k](/packages/unikka-login-as)

PHPackages © 2026

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