PHPackages                             skrip42/stateless-secure-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. skrip42/stateless-secure-bundle

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

skrip42/stateless-secure-bundle
===============================

add secure authentication to you stateless route

v1.0.5(4y ago)121MITPHPPHP ^7.1

Since Apr 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Skrip42/StatelessSecureBundle)[ Packagist](https://packagist.org/packages/skrip42/stateless-secure-bundle)[ Docs](https://github.com/skrip42/StatelessSecureBundle)[ RSS](/packages/skrip42-stateless-secure-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

StatelessSecureBundle
=====================

[](#statelesssecurebundle)

add security token to you stateless route

install
-------

[](#install)

```
composer require skrip42/stateless-secure-bundle
```

then add stateless token gate to you routes.yaml

```
#routes.yaml
stateless_secure:
  resource: '@StatelessSecureBundle/Resources/config/routes.yaml'
```

make sure the route 'stateless\_secure\_get\_token' is not accessible as public

configure you security.yaml

```
#security.yaml
security:
  providers:
    stateless_user_provider:
      id: Skrip42\StatelessSecureBundle\Security\UserProvider
  firewalls:
    stateless:
      anonymous: true
      stateless: true
      request_matcher: Skrip42\StatelessSecureBundle\RequestMatcher
      provider: stateless_user_provider
      guard:
        authenticators:
          - Skrip42\StatelessSecureBundle\Security\Authenticator
```

optional redeclare you own cache pool:

```
#cache.yaml

framework:
  cache:
    default_redis_provider: 'redis://redis:6379'
    pools:
      stateless_token.cache:
        adapter: cache.adapter.redis
```

usage
-----

[](#usage)

just add annotation @StatelessSecure to you target action:

```
    /**
     * @Route(
     *   "/some_path",
     *   name="some_name",
     *   stateless=true
     * )
     * @StatelessSecure
     */
    public function sameAction(Request $request) : Response
    {
        ...
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~64 days

Total

3

Last Release

1718d ago

### Community

Maintainers

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

---

Top Contributors

[![Skrip42](https://avatars.githubusercontent.com/u/11675343?v=4)](https://github.com/Skrip42 "Skrip42 (10 commits)")

### Embed Badge

![Health badge](/badges/skrip42-stateless-secure-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/skrip42-stateless-secure-bundle/health.svg)](https://phpackages.com/packages/skrip42-stateless-secure-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

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

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[scheb/2fa

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

578630.7k1](/packages/scheb-2fa)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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