December 11, 2017 Javier Eguiluz

The Symfony Demo application is a reference application created to show how to develop Symfony applications following the recommended best practices. It's mainly used as a learning and teaching resource, so we keep it in sync with the latest Symfony versions and features.

During the past weeks we've worked hard to be ready for the Symfony 4 release and we've fully updated the application to Symfony 4 and Symfony Flex. The main changes introduced in the app are:

Updated code to use as many PHP 7.1 features as possible;

Used the flat and simple dir structure proposed by Symfony 4;

Removed most of the service config thanks to the autowiring, _defaults, autoconfiguration and local binding;

Created services for Doctrine repositories;

Revamped the data fixtures to use modern DoctrineFixturesBundle practices;

and all the other great simplifications allowed by Symfony 4!

Run this command to install the new Symfony Demo version:

1 $ composer create-project symfony/symfony-demo