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

Creată 4y | 10 dec. 2021, 09:20:09


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

New in Symfony 7.3: DX Improvements (part 2)

This is the second part of the blog post showcasing the main DX (developer experience) features introduced in Symfony 7.3. Read the first part of this blog post.

Verify URI Signatures… https://symfon

29 mai 2025, 09:10:19 | Symfony
Symfony 6.4.22 released

Symfony 6.4.22 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

29 mai 2025, 09:10:19 | Symfony
Symfony 7.2.7 released

Symfony 7.2.7 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your

29 mai 2025, 09:10:18 | Symfony
Symfony 7.3.0 released

Symfony 7.3.0 has just been released. Check the New in Symfony 7.3 posts on this blog to learn about the main features of this new stable release; or check the first beta release announcement to get t

29 mai 2025, 09:10:17 | Symfony
Symfony 7.3 curated new features

Symfony 7.3.0 has been released. As for any other Symfony release, our backward compatibility promise applies and this means that you should be able to upgrade easily to 7.3 without changing anything

29 mai 2025, 09:10:16 | Symfony
New in Symfony 7.3: DX Improvements (part 1)

Symfony 7.3 includes many small improvements aimed at making developers' lives easier and more productive. This blog post highlights some of the most useful DX (Developer Experience) features added in

28 mai 2025, 09:50:15 | Symfony
New in Symfony 7.3: Validator Improvements

Symfony 7.3 introduces several enhancements to the Validator component, focusing on developer experience, better configurability, and more expressive constraint definitions.

Allow to Disable Translat

27 mai 2025, 08:30:20 | Symfony