Hello Symfony 4!
It's here! I am beyond excited to welcome today's release of Symfony 4! This is not just a new major version: it's an entirely reimagined developer experience. You will love working with Symfony 4:
- Automated package installation with Symfony Flex
- Auto-registered & autowired services to keep you coding, not configuring
- Micro: a new Symfony 4 app is 70% smaller than Symfony 3. Symfony is a micro-framework out-of-the-box!
- Performance: We've optimized and re-optimized every part of Symfony (benchmark #1, benchmark #2, benchmark #3)
- Conventions: A Symfony 4 app has a smaller directory structure, less "Symfony-ideas" and uses more standard ideas.
And so many more features, including the MakerBundle for code generation and Webpack Encore for professional frontend assets.
Ready to get started! Just run:
$ composer create-project symfony/skeleton my_project
And then follow the Setup Documentation. Have fun!
An Immense Community Effort
I want to thank the many people who contributed to this huge effort, which included 3,000 commits from more than 300 people over just the past year on the Symfony repository. The documentation has also been overhauled with over 25k lines changed in the last six months! Thanks to the passion from the community, Symfony is truly in a Renaissance.
For existing users, as always, thanks to the Backwards Compatibility Promise and continuous upgrade path (i.e. upgrading a major version is easy), you'll be able to migrate your apps to the new version, safely, and at your own pace. See the UPGRADE log for details on changes.
The biggest change (which is optional) is to move your project to the new Symfony 4 directory structure so that you can take advantage of Symfony Flex. For details, read Upgrading Existing Applications to Flex. We'll continue updating that page to contain the easiest and safest ways to upgrade.
Also many of the community bundles have already been updated and will work on your Symfony 4 application. But, we're still working to add support everywhere.
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
I am a big fan of Symfony, and its conferences (especially the ones with RyanWeaver talk).
Big thank you to everybody who helped make this happen!
Looking forward to upgrading Retromat from 3.3 to 3.4, then 4.0 as soon as possible :-D
Can't wait to play with it on many and many projects 😁
Have fun everyone! And if you see any bugs in the docs, please let us know! We made HUGE changes there!
See results and compare Symfony 4 with older versions here : http://www.phpbenchmarks.com/fr/benchmark/apache-bench/php-7.1/select-version/symfony.html