PHPackages                             linkorb/silex-provider-jwt-auth - 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. linkorb/silex-provider-jwt-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

linkorb/silex-provider-jwt-auth
===============================

Provides a jwt\_issuer firewall and JWT decoder.

v2.5.0(4y ago)0602MITPHPCI failing

Since Jul 1Pushed 4y ago3 watchersCompare

[ Source](https://github.com/linkorb/silex-provider-jwt-auth)[ Packagist](https://packagist.org/packages/linkorb/silex-provider-jwt-auth)[ RSS](/packages/linkorb-silex-provider-jwt-auth/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (4)Versions (17)Used By (0)

linkorb/silex-provider-jwt-auth
===============================

[](#linkorbsilex-provider-jwt-auth)

Provides a firewall which uses, as its authentication provider, an issuer of Json Web Tokens.

Install
-------

[](#install)

Install using composer:-

```
$ composer require linkorb/silex-provider-jwt-auth

```

Note: use the v1 branch when you're restricted to using version 2.7.x of symfony/security.

Then configure and register the provider along with the Silex Session and Security providers:-

```
// app/app.php
use LinkORB\JwtAuth\Provider\JwtAuthenticatorServiceProvider;
use Silex\Provider\SecurityServiceProvider;
use Silex\Provider\SessionServiceProvider;
...
$app->register(new SessionServiceProvider);
$app->register(
    new SecurityServiceProvider,
    [
        'security.firewalls' => [
            'my_firewall' => [
                'pattern' => '^/secure-area',
                'stateless' => false,
                'jwt_issuer' => [
                    'app_identifier' => 'my-app-name',
                    'jwt_issuer_url' => 'https://example.com/issue/a/jwt',
                    // see JwtAuthenticatorServiceProvider for more options
                ],
                'users' => function () use ($app) {
                    return $app['my_user_provider'];
                },
            ],
        ],
    ]
);
$app->register(
    new JwtAuthenticatorServiceProvider,
    [
        'jwt_auth.decoder.config' => [
            'decoder_key' => function () {
                return file_get_contents('/path/to/jwt/decoder/key.pub');
            },
            'permitted_algos' => ['RS256', 'RS384', 'RS512'],
        ],
    ]
);

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~112 days

Recently: every ~386 days

Total

16

Last Release

1608d ago

Major Versions

1.1.1 → 2.02017-07-12

v1.x-dev → v2.0.12017-11-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![boite](https://avatars.githubusercontent.com/u/989892?v=4)](https://github.com/boite "boite (14 commits)")[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (3 commits)")[![prajapati-kaushik](https://avatars.githubusercontent.com/u/10140681?v=4)](https://github.com/prajapati-kaushik "prajapati-kaushik (1 commits)")

### Embed Badge

![Health badge](/badges/linkorb-silex-provider-jwt-auth/health.svg)

```
[![Health](https://phpackages.com/badges/linkorb-silex-provider-jwt-auth/health.svg)](https://phpackages.com/packages/linkorb-silex-provider-jwt-auth)
```

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k286.7M214](/packages/google-auth)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

25310.7M73](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2306.4M37](/packages/stevenmaguire-oauth2-keycloak)[robsontenorio/laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel

5181.2M3](/packages/robsontenorio-laravel-keycloak-guard)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.8M9](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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