security-csrf icon indicating copy to clipboard operation
security-csrf copied to clipboard

Symfony Security Component - CSRF Library

Security Component - CSRF

The Security CSRF (cross-site request forgery) component provides a class CsrfTokenManager for generating and validating CSRF tokens.

Sponsor

The Security component for Symfony 6.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!

Resources