PHPackages                             msaads/jwt-authentication2-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. [HTTP &amp; Networking](/categories/http)
4. /
5. msaads/jwt-authentication2-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

msaads/jwt-authentication2-bundle
=================================

This bundle provides JWT authentication for my Symfony REST API

v2.5.4(7y ago)1347MITPHPPHP ^5.5|^7.0

Since May 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mazemax/LexikJWTAuthenticationBundle)[ Packagist](https://packagist.org/packages/msaads/jwt-authentication2-bundle)[ Docs](https://github.com/lexik/LexikJWTAuthenticationBundle)[ RSS](/packages/msaads-jwt-authentication2-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (11)Versions (46)Used By (0)

LexikJWTAuthenticationBundle
============================

[](#lexikjwtauthenticationbundle)

[![Build Status](https://camo.githubusercontent.com/0f1d174ad0011ee9502862da93751b4a7f99f4fadc6eb79fc81d27e6649d3a66/68747470733a2f2f7472617669732d63692e6f72672f6c6578696b2f4c6578696b4a575441757468656e7469636174696f6e42756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lexik/LexikJWTAuthenticationBundle)[![StyleCI](https://camo.githubusercontent.com/8401c4c0c80c099a81724d4a7fd1bbddf4edb4cf680f1132aa0cf7c801bd833e/68747470733a2f2f7374796c6563692e696f2f7265706f732f31383632383530312f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/18628501?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d101931c92b4ff268b20e3cec39066cc8e86346ad4d10c0e9855b40d869994e9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6578696b2f4c6578696b4a575441757468656e7469636174696f6e42756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lexik/LexikJWTAuthenticationBundle/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/f5c8de089259dd3e246f85280d33e599d8a51cd644bcc7fe4e8c863e1038cb9e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36373537336236662d653138322d343339342d623236612d3634396333323337383466362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/67573b6f-e182-4394-b26a-649c323784f6)[![Latest Stable Version](https://camo.githubusercontent.com/322eddcb7a308a8c93fa62473addbabe6fad758a18d470e97fb2a6463f5dad87/68747470733a2f2f706f7365722e707567782e6f72672f6c6578696b2f6a77742d61757468656e7469636174696f6e2d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/lexik/jwt-authentication-bundle)

This bundle provides JWT (Json Web Token) authentication for your Symfony API.

It is compatible and tested with PHP 5.5, 5.6, 7.0, 7.1, HHVM on Symfony 3.4 and 4.0.

Documentation
-------------

[](#documentation)

The bulk of the documentation is stored in the [`Resources/doc`](Resources/doc/index.md) directory of this bundle:

- [Getting started](Resources/doc/index.md#getting-started)
    - [Prerequisites](Resources/doc/index.md#prerequisites)
    - [Installation](Resources/doc/index.md#installation)
    - [Configuration](Resources/doc/index.md#configuration)
    - [Usage](Resources/doc/index.md#usage)
    - [Notes](Resources/doc/index.md#notes)
- [Further documentation](Resources/doc/index.md#further-documentation)
    - [Configuration reference](Resources/doc/1-configuration-reference.md)
    - [Data customization and validation](Resources/doc/2-data-customization.md)
    - [Functional testing](Resources/doc/3-functional-testing.md)
    - [Working with CORS requests](Resources/doc/4-cors-requests.md)
    - [JWT encoder service customization](Resources/doc/5-encoder-service.md)
    - [Extending JWTTokenAuthenticator](Resources/doc/6-extending-jwt-authenticator.md)
    - [Creating JWT tokens programmatically](Resources/doc/7-manual-token-creation.md)
    - [A database-less user provider](Resources/doc/8-jwt-user-provider.md)

Community Support
-----------------

[](#community-support)

Please consider [opening a question on StackOverflow](http://stackoverflow.com/questions/ask) using the [`lexikjwtauthbundle` tag](http://stackoverflow.com/questions/tagged/lexikjwtauthbundle), it is the official support platform for this bundle.

Github Issues are dedicated to bug reports and feature requests.

Contributing
------------

[](#contributing)

See the [CONTRIBUTING](CONTRIBUTING.md) file.

Upgrading from 1.x
------------------

[](#upgrading-from-1x)

Please see the [UPGRADE](UPGRADE.md) file.

Credits
-------

[](#credits)

- Lexik
- [All contributors](https://github.com/lexik/LexikJWTAuthenticationBundle/graphs/contributors)

License
-------

[](#license)

This bundle is under the MIT license.
For the whole copyright, see the [LICENSE](LICENSE) file distributed with this source code.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 61.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 ~34 days

Recently: every ~2 days

Total

45

Last Release

2867d ago

Major Versions

v1.7.1 → v2.0.02016-10-16

1.x-dev → v2.4.12017-06-29

PHP version history (3 changes)v1.0.0PHP &gt;=5.3.3

v1.4.0PHP &gt;=5.4.8

v2.0.0PHP ^5.5|^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ce6e768109fe347c6c4918fb30931e545840e74fe341660d4e7e040718c5b69?d=identicon)[msaads](/maintainers/msaads)

---

Top Contributors

[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (230 commits)")[![slashfan](https://avatars.githubusercontent.com/u/1168500?v=4)](https://github.com/slashfan "slashfan (73 commits)")[![Spomky](https://avatars.githubusercontent.com/u/1091072?v=4)](https://github.com/Spomky "Spomky (16 commits)")[![tcardonne](https://avatars.githubusercontent.com/u/2379631?v=4)](https://github.com/tcardonne "tcardonne (5 commits)")[![gfreeau](https://avatars.githubusercontent.com/u/1403669?v=4)](https://github.com/gfreeau "gfreeau (5 commits)")[![quentin-st](https://avatars.githubusercontent.com/u/1551971?v=4)](https://github.com/quentin-st "quentin-st (4 commits)")[![saadsiddiquiipg](https://avatars.githubusercontent.com/u/46515677?v=4)](https://github.com/saadsiddiquiipg "saadsiddiquiipg (3 commits)")[![sroze](https://avatars.githubusercontent.com/u/804625?v=4)](https://github.com/sroze "sroze (3 commits)")[![EmmanuelVella](https://avatars.githubusercontent.com/u/663607?v=4)](https://github.com/EmmanuelVella "EmmanuelVella (3 commits)")[![lashae](https://avatars.githubusercontent.com/u/20574?v=4)](https://github.com/lashae "lashae (2 commits)")[![tabbi89](https://avatars.githubusercontent.com/u/5837714?v=4)](https://github.com/tabbi89 "tabbi89 (2 commits)")[![norkunas](https://avatars.githubusercontent.com/u/2722872?v=4)](https://github.com/norkunas "norkunas (2 commits)")[![patrickjDE](https://avatars.githubusercontent.com/u/6651001?v=4)](https://github.com/patrickjDE "patrickjDE (2 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (2 commits)")[![clementtalleu](https://avatars.githubusercontent.com/u/11056924?v=4)](https://github.com/clementtalleu "clementtalleu (2 commits)")[![stloyd](https://avatars.githubusercontent.com/u/67402?v=4)](https://github.com/stloyd "stloyd (2 commits)")[![richginsberg](https://avatars.githubusercontent.com/u/819865?v=4)](https://github.com/richginsberg "richginsberg (2 commits)")[![jaugustin](https://avatars.githubusercontent.com/u/564420?v=4)](https://github.com/jaugustin "jaugustin (2 commits)")[![vgeyer](https://avatars.githubusercontent.com/u/1025178?v=4)](https://github.com/vgeyer "vgeyer (1 commits)")[![blaues0cke](https://avatars.githubusercontent.com/u/5159398?v=4)](https://github.com/blaues0cke "blaues0cke (1 commits)")

---

Tags

jwtapisymfonybundlerestJWSAuthentication

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/msaads-jwt-authentication2-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/msaads-jwt-authentication2-bundle/health.svg)](https://phpackages.com/packages/msaads-jwt-authentication2-bundle)
```

###  Alternatives

[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k58.7M210](/packages/lexik-jwt-authentication-bundle)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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