Symfony Demo 2.0 Introduces Support for Symfony 6.0

The Symfony Demo application was introduced in 2015 as a reference application
to show how to develop Symfony applications following the recommended best practices.
This demo application is useful to:

Learn Symfony, thanks to all the comments included in the source code to
explain why things are done in that way;
Teach Symfony, because it’s a small but realistic app that showcases many
of the Symfony features;
Test new features introduced by Symfony without having to update your own
applications and try new features before contributing them to Symfony;
Benchmark Symfony and PHP; in fact, PHP officially uses Symfony Demo as
part of their benchmarks (see PHP 8.0 JIT benchmarks, see PHP 8.1 benchmarks).

In the past years we’ve continuously improved the Symfony Demo to introduce new
features and update the code to the latest Symfony recommendations. Today, we’re
introducing Symfony Demo 2.0 as the first version to support Symfony 6.0.

If you want to try some of the new Symfony 6.0 features but can’t upgrade your
applications yet, run this command to create a new project based on the Symfony Demo:

$ composer create-project symfony/symfony-demo

When using the local web server from the Symfony CLI, run the following
commands and browse the application in the given IP and port:

$ cd symfony_demo/
$ symfony serve

Thanks to all Symfony Demo contributors and to everyone who helps the project
in one way or another. If you like this project, don’t forget to star the project on GitHub.

Sponsor the Symfony project.

Symfony Blog
Read More

Latest News

PHP-Releases

PHP 8.0.19 released!

PHP 7.4.29 released!