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.

https://symfony.com/blog/symfony-demo-2-0-introduces-support-for-symfony-6-0?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Utworzony 3y | 10 gru 2021, 09:20:09


Zaloguj się, aby dodać komentarz

Inne posty w tej grupie

SymfonyOnline June 2025: FormFlow: Build Stunning Multistep Forms

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

23 kwi 2025, 15:20:21 | Symfony
New in Symfony 7.3: Assets Pre-Compression

Contributed by Kévin Dunglas in

23 kwi 2025, 08:20:31 | Symfony
SymfonyOnline June 2025: Inside a Financial App Breach: Debugging a Million-Dollar Bug

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

22 kwi 2025, 13:50:03 | Symfony
New in Symfony 7.3: Invokable Commands and Input Attributes

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.

22 kwi 2025, 09:10:36 | Symfony
A Week of Symfony #955 (April 14–20, 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(

20 kwi 2025, 08:30:06 | Symfony
SymfonyOnline June 2025: Rethinking File Handling in Symfony

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

16 kwi 2025, 16:30:02 | Symfony
SymfonyLive Paris 2025: Recap and replay!

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

15 kwi 2025, 14:50:24 | Symfony