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

Creato 3y | 10 dic 2021, 09:20:09


Accedi per aggiungere un commento

Altri post in questo gruppo

Symfony 7.3.0-BETA2 released

Symfony 7.3.0-BETA2 has just been released. This is a pre-release version of Symfony 7.3. If you want to test it in your own applications before its final release, run the following commands:

10 mag 2025, 13:10:15 | Symfony
New in Symfony 7.3: Mailer Security Improvements

The Symfony Mailer component provides many security-related features like signing and encrypting email messages. In Symfony 7.3 we're pushing those features even further to give you greater control an

9 mag 2025, 09:20:10 | Symfony
SymfonyOnline June 2025: Detect Hidden Defects: Check Your PHP Tests

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

8 mag 2025, 14:40:19 | Symfony
New in Symfony 7.3: JsonPath Component

Contributed by Alexandre Daubois in

8 mag 2025, 10:10:10 | Symfony
SymfonyOnline June 2025: Combining Turbo, LiveComponent & Stimulus... the Right Way?

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

7 mag 2025, 13:10:15 | Symfony
New in Symfony 7.3: New and Improved Console Helpers

Symfony 7.3 introduces powerful improvements to the Console component, beyond the much-anticipated invokable commands and input attributes. This version also brings new helpers and features designed t

7 mag 2025, 08:30:04 | Symfony
New in Symfony 7.3: Static Error Pages

Contributed by Loick Piera in

6 mag 2025, 09:20:10 | Symfony