LexikJWTAuthenticationBundle
LexikJWTAuthenticationBundle copied to clipboard
JWT authentication for your Symfony API
LexikJWTAuthenticationBundle
This bundle provides JWT (Json Web Token) authentication for your Symfony API.
It is compatible (and tested) with PHP 7.1+ on Symfony 4.x, 5.x and 6.x.
Documentation
The bulk of the documentation is stored in the Resources/doc
directory of this bundle:
-
Getting started
- Prerequisites
- Installation
- Configuration
- Usage
- Notes
-
Further documentation
- Configuration reference
- Data customization and validation
- Functional testing
- Working with CORS requests
- JWT encoder service customization
- Extending Authenticator
- Creating JWT tokens programmatically
- A database-less user provider
- Accessing the authenticated JWT token
Community Support
Please consider opening a question on StackOverflow using the lexikjwtauthbundle
tag, it is the official support platform for this bundle.
Github Issues are dedicated to bug reports and feature requests.
Contributing
See the CONTRIBUTING file.
Sponsoring
Huge thanks to Blackfire and JetBrains for providing this project with free open-source licenses.
If you or your company use this package, please consider sponsoring its maintenance and development.
Upgrading from 1.x
Please see the UPGRADE file.
Credits
License
This bundle is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.