Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Jwt Symfony

Jwt Symfony Laravel Package

marvin255/jwt-symfony

A Symfony bundle for JWT authentication that generates, signs, and validates JSON Web Tokens and integrates with Symfony's security system, giving you a lightweight way to add stateless token-based auth to APIs and services.

View on GitHub
Deep Wiki
Context7

Symfony bundle for marvin255/jwt lib.

Frequently asked questions about Jwt Symfony
Is marvin255/jwt-symfony a Laravel package or a Symfony bundle?
It is a Symfony bundle for the marvin255/jwt library, not a Laravel package. It integrates with Symfony's security system for stateless token authentication. Laravel applications need a Laravel-specific JWT or token package instead.
How do I install marvin255/jwt-symfony?
Install it with Composer using composer require marvin255/jwt-symfony. Because it is a Symfony bundle, you will also need to register or enable it in your Symfony application according to the repository README. Check the resolved Composer versions for the underlying marvin255/jwt dependency.
What is marvin255/jwt-symfony used for?
It generates, signs, and validates JSON Web Tokens and wires that into Symfony security. That makes it suitable for stateless, token-based authentication in APIs and services. It is a lightweight bundle rather than a full identity platform.
Which Symfony versions does marvin255/jwt-symfony support?
The provided package context does not list specific Symfony version constraints. Check the repository's composer.json and README for the authoritative require block before installing. Test your Symfony version in a branch or staging app before upgrading production.
How do I configure signing keys and token lifetime?
JWT signing keys, algorithms, and token lifetime are configured through the bundle and the underlying marvin255/jwt library. The exact option names belong in the repository README, so follow those rather than guessing. In production, keep private keys out of version control and use short, deliberate token lifetimes.
Can I use this bundle with Symfony's security firewall?
Yes, the bundle is described as integrating with Symfony's security system. It is intended to support stateless token authentication for APIs and services. You still need to wire the appropriate firewall and authenticator configuration in your Symfony app.
How should I test JWT authentication in a Symfony app using this bundle?
Test token generation and validation as units, then add functional tests through Symfony's test client for protected routes. Use dedicated test keys and avoid production secrets in CI. If you assert expiry behavior, control the clock or use short-lived tokens so tests stay deterministic.
What production concerns come with marvin255/jwt-symfony?
You are responsible for key management, algorithm choice, token expiration, and revocation strategy. Serve APIs over HTTPS and avoid logging raw tokens. The bundle handles JWT mechanics, but operational security and monitoring remain your application's job.
What are alternatives to marvin255/jwt-symfony?
For Symfony, LexikJWTAuthenticationBundle is a common JWT authentication alternative. For Laravel, look at Laravel Sanctum or Laravel-specific JWT packages instead of this Symfony bundle. Evaluate maintenance, Symfony version support, and feature fit before switching.
Is marvin255/jwt-symfony actively maintained?
The provided context does not include maintenance status or release history. Check the GitHub repository for recent commits, releases, open issues, and Symfony compatibility updates. Treat that repository activity as the source of truth before adopting it.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource