spomky-labs/lexik-jose-bridge
Integrates LexikJWTAuthenticationBundle with the Spomky-Labs JWT Framework, letting Symfony apps create and verify JWTs using JWT Framework services, key management, and configurable signing algorithms.
LexikJWTAuthenticationBundle (Symfony) to web-token/jwt-framework (Jose) for JWS/JWE encode/decode. It is Symfony-bundle-shaped, not Laravel-native. In a straight Laravel stack its fit is low — the idiomatic path is tymon/jwt-auth or lcobucci/jwt behind custom middleware. It becomes relevant only if we (a) already depend on web-token/jwt-framework for key management and want that surface reused, or (b) run a hybrid Laravel + Symfony kernel. Scope decision should be made before any upgrade work.composer require), but the v4 constraint set is the real work: PHP ≥8.1 and Symfony ^6.0 must be reconciled with whatever symfony/* transitive versions illuminate/* pins. Expect to spend the effort in composer why-not, not in code. No application-level code changes are indicated by the changelog.symfony/* constraint set, and does it conflict with illuminate/support / illuminate/container?web-token/jwt-framework major version move alongside this?symfony/* to ^6.0 → composer update spomky-labs/lexik-jose-bridge → clear container/config caches → run token round-trip and key-rotation regression. The Rector and PHPStan adoption in v4 means upstream code is now statically analyzed; our own integration tests remain the only meaningful safety net on our side.web-token/jwt-framework on a branch independent of this bump. (3) Apply the v4 bridge bump. (4) Run auth regression: issuance, verification, kid selection, JWKS rotation, clock-skew handling. (5) Only then align the broader Laravel/PHP baseline. Do not bundle this with an unrelated framework upgrade.composer conflicts between the Symfony 6 floor and Laravel's pinned symfony/* — surfacing as a blocked upgrade rather than a runtime outage. Secondary modes: algorithm or kid mismatch after the underlying Jose upgrade, and stale serialized tokens during cutover. Given the changelog content, a silent functional regression from v4 itself is unlikely; the risk is concentrated in upgrade mechanics and in running an unsupported v3 line.How can I help you explore Laravel packages today?