Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.


You are browsing the documentation for Symfony 2.8 which is not maintained anymore.

Consider upgrading your projects to Symfony 5.2.


2.8 version



The Null constraint is deprecated since Symfony 2.7 and will be removed in Symfony 3.0. Use the IsNull constraint instead.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.