Doo Silex CSRF is a simple Service Provider that creates random tokens and checks if valid to prevent csrf - cross site request forgery in your Silex project.