symfony/security-csrf
Symfony Security Component - CSRF Library
Maintainers
v8.1.0
2026-05-29 05:06 UTC
Requires
- php: >=8.4.1
- symfony/deprecation-contracts: ^2.5|^3
- symfony/security-core: ^7.4|^8.0
Requires (Dev)
- psr/log: ^1|^2|^3
- symfony/http-foundation: ^7.4|^8.0
- symfony/http-kernel: ^7.4|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT c865a8ee0d30b14545d7e5349b8e443f4fa9dc3f
- Fabien Potencier <fabien.woop@symfony.com>
- Symfony Community
This package is auto-updated.
Last update: 2026-06-05 06:51:30 UTC
README
The Security CSRF (cross-site request forgery) component provides a class
CsrfTokenManager for generating and validating CSRF tokens.
Sponsor
The Security component for Symfony 8.1 is backed by SymfonyCasts.
Learn Symfony faster by watching real projects being built and actively coding along with them. SymfonyCasts bridges that learning gap, bringing you video tutorials and coding challenges. Code on!
Help Symfony by sponsoring its development!
