marein/symfony-standard-headers-csrf-bundle
A Symfony bundle that adds CSRF protection using standard HTTP headers instead of form tokens. Ideal for APIs, SPAs, and stateless clients, it validates requests via headers like X-CSRF-Token and integrates cleanly with Symfony's security and event system.
|
Package
|
Constraint
|
|---|---|
| symfony/config | ^5.1 || ^6.0 || ^7.0 || ^8.0 |
| symfony/dependency-injection | ^5.1 || ^6.0 || ^7.0 || ^8.0 |
| symfony/http-foundation | ^5.1 || ^6.0 || ^7.0 || ^8.0 |
| symfony/http-kernel | ^5.1 || ^6.0 || ^7.0 || ^8.0 |
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | 2.2.2 |
| phpunit/phpunit | ^9.5 |
| squizlabs/php_codesniffer | 3.6.1 |
| symfony/browser-kit | ^5.1 || ^6.0 || ^7.0 || ^8.0 |
| symfony/framework-bundle | ^5.1 || ^6.0 || ^7.0 || ^8.0 |
How can I help you explore Laravel packages today?