Living on the Edge

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

Filter by version: 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 4.2: PDO-based lock storage

In Symfony 4.2, locks can be stored in PDO-compatible databases like MySQL, MariaDB and PostgreSQL.

New in Symfony 4.2: Autowiring by type and name

In Symfony 4.2, in addition to service binding by name or type, you'll be able to bind services by type and name at the same time.

New in Symfony 4.2: DivisibleBy constraint

Symfony 4.2 adds a new validation constraint called DivisibleBy to check whether one number is a multiple of some other number.

New in Symfony 4.2: Simpler functional tests

Symfony 4.2 simplifies the way links are clicked and forms are submitted in functional tests.

Introducing Symfony Panther: a Browser Testing and Web Scrapping Library for PHP

Symfony Panther is a a new library to scrape websites and to run end-to-end tests using real browsers. Panther leverages the W3C's WebDriver protocol to drive native web browsers such as Google Chrome and Firefox.

New in Symfony 4.1: Misc. improvements (part 4)

In Symfony 4.1, AbstractController provides a getParameter() helper, anonymous services can be configured with PHP DSL, PropertyInfo can introspect information using the constructor arguments and the level of the PHP logger is configurable.

New in Symfony 4.1: Misc. improvements (part 3)

In Symfony 4.1, MoneyType rounding is configurable, updating LDAP entries is more efficient, query strings can be kept when redirecting and hassers are supported by the PropertyInfo component.

New in Symfony 4.1: Misc. improvements (part 2)

In Symfony 4.1 there is a new choice_translation_locale option for some form types, a new command to delete cache items, allow_if expression can use custom expressions and you can use the new dd() debug helper.

New in Symfony 4.1: Misc. improvements (part 1)

Some small but nice new features added to Symfony 4.1: use csrf_token() without the Form component, parse env vars stored in CSV files, change progress bars dynamically and check more easily the contents of your .env files.

New in Symfony 4.1: Configurable trailing slash on imported routes

In Symfony 4.1, when importing some routes under a common prefix, you can configure whether or not the root route adds a trailing slash to its path.