22 lines
443 B
Markdown
22 lines
443 B
Markdown
|
Security Component - CSRF
|
||
|
=========================
|
||
|
|
||
|
The Security CSRF (cross-site request forgery) component provides a class
|
||
|
`CsrfTokenGenerator` for generating and validating CSRF tokens.
|
||
|
|
||
|
Resources
|
||
|
---------
|
||
|
|
||
|
Documentation:
|
||
|
|
||
|
http://symfony.com/doc/2.4/book/security.html
|
||
|
|
||
|
Tests
|
||
|
-----
|
||
|
|
||
|
You can run the unit tests with the following command:
|
||
|
|
||
|
$ cd path/to/Symfony/Component/Security/Csrf/
|
||
|
$ composer.phar install --dev
|
||
|
$ phpunit
|