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.

Living on the Edge

A series of posts showcasing the new features introduced by each Symfony version.

Filter by version: 5.2 5.1 5.0-4.4 4.3 4.2 4.1 4.0-3.4 3.3 3.2 3.1 3.0-2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0

New in Symfony 3.4: Form improvements

Symfony 3.4 adds new HTML5 form types ("tel" and "color"), new options for TimezoneType and support for callbacks in the delete_empty option.

New in Symfony 3.4: Defining compiler passes in the kernel

In Symfony 3.4, the kernel of the application can implement CompilerPassInterface to define a compiler pass in it.

New in Symfony 3.4: Bootstrap 4 form theme

Symfony 3.4 adds a new form theme for Bootstrap 4, the most popular front-end component library.

New in Symfony 3.4: Argon2i password hasher

Symfony 3.4 includes an Argon2i password hasher , a modern alternative to Bcrypt natively supported by PHP 7.2.

New in Symfony 3.4: Default request context for assets

Symfony 3.4 provides new configuration options so you can generate the right URL for assets out of the HTTP context, for example in a command console.

New in Symfony 3.4: Deprecated bundle inheritance

Symfony 3.4 deprecates bundle inheritance, but Symfony still provides lots of alternatives to override the resources of third-party bundles in your application.

New in Symfony 3.4: Better code coverage reports

Symfony 3.4 adds a new CoverageListener to the PHPUnit Bridge component to create more precise code coverage reports.

New in Symfony 3.4: PHP-based configuration for services and routes

Symfony 3.4 introduces a new (optional) PHP-based configuration format to define routes and services using a fluent interface.

New in Symfony 3.4: Advanced environment variables

Symfony 3.4 allows to define the data type of the value stored in environment variables and also defines some operators to transform their values before using them.

New in Symfony 3.4: Improved comparison constraints

In Symfony 3.4, comparison constraints can get the value of any other property without having to define a full expression.