Download the PHP package spomky-labs/lexik-jose-bridge without Composer
On this page you can find all versions of the php package spomky-labs/lexik-jose-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spomky-labs/lexik-jose-bridge
More information about spomky-labs/lexik-jose-bridge
Files in spomky-labs/lexik-jose-bridge
Package lexik-jose-bridge
Short Description Bridge to allow the use of web-token/jwt-framework with the Lexik JWT Authentication Bundle
License MIT
Homepage https://github.com/Spomky-Labs/lexik-jose-bridge
Informations about the package lexik-jose-bridge
Jose Bridge for the LexikJWTAuthenticationBundle
This Symfony Bundle provides a JWT Encoder for the LexikJWTAuthenticationBundle that uses the web-token/jwt-framework as JWT Creator/Loader.
The Release Process
The release process is described here.
Prerequisites
This library needs at least:
- PHP 8.1+
- Symfony 6.0+.
Installation
Symfony Flex
The preferred way to install this bundle is to rely on Symfony Flex and composer. Before installing the bundle, it is mandatory to declare specific Flex servers into your composer.json file.
Or if you prefer, you can directly update your composer.json
file.
Then, you can install the bundle. It will be automatically configured with the default configuration.
Manual Installation
If you do not use Symfony Flex, then use Composer and install the bundle manually.
Then, add this bundle and the web-token/jwt-framework
bundles into your kernel:
Signature/Encryption Algorithms
This bundle only installs the RSA based signature algorithms (RS256
, RS384
and RS512
).
If you need other signature algorithms (e.g EC based, HMAC) or if you want to use the encryption feature,
you must install the corresponding packages:
- Signature Algorithms
- All:
composer require web-token/signature-pack
(not recommended) - HMAC:
composer require web-token/jwt-signature-algorithm-hmac
- ECDSA:
composer require web-token/jwt-signature-algorithm-ecdsa
- EdDSA:
composer require web-token/jwt-signature-algorithm-eddsa
- None:
composer require web-token/jwt-signature-algorithm-none
(not recommended) - Experimental:
composer require web-token/jwt-signature-algorithm-experimental
(not recommended)
- All:
- Encryption Algorithms
- All:
composer require web-token/encryption-pack
(not recommended) - Key Encryption:
- ECDH-ES:
composer require web-token/jwt-encryption-algorithm-ecdh-es
- AES Key Wrapping:
composer require web-token/jwt-encryption-algorithm-aeskw
- RSA:
composer require web-token/jwt-encryption-algorithm-rsa
- AES GCM Key Wrapping:
composer require web-token/jwt-encryption-algorithm-aesgcmkw
- Direct:
composer require web-token/jwt-encryption-algorithm-dir
(not recommended) - PBES 2:
composer require web-token/jwt-encryption-algorithm-pbes2
(not recommended)
- ECDH-ES:
- Content Encryption:
- AES GCM:
composer require web-token/jwt-encryption-algorithm-aesgcm
- AES CBC:
composer require web-token/jwt-encryption-algorithm-aescbc
- AES GCM:
- Experimental:
composer require web-token/jwt-encryption-algorithm-experimental
(not recommended)
- All:
Configuration
This bundle needs to be configured. Please see this page to know how to configure it.
How to use
There is nothing to do. Just use your application as usual.
Support
I bring solutions to your problems and answer your questions.
If you really love that project and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of :beers: or more!
Or
Contributing
If you discover a security vulnerability within the project, please don't use the bug tracker and don't publish it publicly. Instead, all security issues must be sent to security [at] spomky-labs.com.
Licence
This project is release under MIT licence.
All versions of lexik-jose-bridge with dependencies
lexik/jwt-authentication-bundle Version ^2.0
psr/event-dispatcher Version ^1.0
thecodingmachine/safe Version ^2.0
web-token/jwt-bundle Version ^3.0
web-token/jwt-checker Version ^3.0
web-token/jwt-encryption Version ^3.0
web-token/jwt-key-mgmt Version ^3.0
web-token/jwt-signature Version ^3.0
web-token/jwt-signature-algorithm-rsa Version ^3.0