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.
Chcete-li přidat komentář, přihlaste se
Ostatní příspěvky v této skupině

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:
June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

This is the first article in a series showcasing the most important new features introduced by Symfony 7.3, which will be released at the end of May 2025.

This week, the upcoming Symfony 7.3 version improved the AsAlias attribute by adding a new argument, introduced Clock support for UriSigner, and refined the return type of the ContainerInterface::get(

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:
June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

SymfonyLive Paris 2025 took place three weeks ago — a big thank you to everyone who joined us! The conference was held entirely in French, and now you can relive the best moments: replays, hig

This week, Symfony 7.3 entered its "feature freeze" period in preparation for its release at the end of May 2025. Development activity focused on refining and polishing its new features, including a n

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:
June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe