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

Établi 3y | 10 déc. 2021 à 09:20:09


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Get Symfony news on your favorite social network

Symfony has been active on X, Mastodon, and Bluesky for some time, but until recently, not all platforms received equal attention. Since Twitter (now X) was our first social network, all blog posts we

29 janv. 2025 à 14:20:10 | Symfony
SymfonyLive Berlin 2025: Demystify the magic of the Container

SymfonyLive Berlin 2025, conference held in English, will take place from April 1 to 4! The schedule is being revealed gradually. More details are available here.

As we are now unveiling th

29 janv. 2025 à 14:20:10 | Symfony
Twig CVE-2025-24374: Missing output escaping for the null coalesce operator

Affected versions

Twig versions >=3.16.0,<3.19.0 are affected by this security issue.

The issue has been fixed in Twig 3.19.0.

Description

When using the null coalesce operator (??), output esc

29 janv. 2025 à 09:40:06 | Symfony
Symfony 6.4.18 released

Symfony 6.4.18 has just been released. Here is the list of the most important changes since 6.4.17:

bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)

bug #59631 [HttpClient

29 janv. 2025 à 09:40:05 | Symfony
Symfony 7.1.11 released

Symfony 7.1.11 has just been released. Here is the list of the most important changes since 7.1.10:

bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)

bug #59631 [HttpClient

29 janv. 2025 à 09:40:05 | Symfony
Symfony 7.2.3 released

Symfony 7.2.3 has just been released. Here is the list of the most important changes since 7.2.2:

bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)

bug #59631 [HttpClient]

29 janv. 2025 à 09:40:04 | Symfony
SymfonyLive Paris 2025 : Développer plus vite grâce à FrankenPHP

SymfonyLive Paris 2025, conference in French language only, will take place from March 27 to 28! The schedule is currently being revealed as we go along. More details are available here.

Al

28 janv. 2025 à 08:10:10 | Symfony