Archives


Master Symfony2 fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Discover the SensioLabs Support

Access to the SensioLabs Competency Center for an exclusive and tailor-made support on Symfony
sensiolabs.com

Fabien Potencier
Symfony 2.0
by Fabien Potencier – July 28, 2011 – 128 comments

After 12 preview releases, 5 beta versions, and 6 release candidates, I'm very proud to announce the immediate availability of Symfony 2.0, final version.

Since the first preview release, published 18 months ago during the Symfony Live conference, the Symfony community has done an amazing work. The Symfony2 code quality would not have been the same without their outstanding work. Thank you!

The Community

The involvement of the community for this version of the framework is just incredible. More than 250 developers have contributed in one way or another to this major version through more than 2,000 pull requests. And that's just the beginning as the community is growing at a very fast pace. Since March 2011, more than 100 new contributors have joined the Symfony2 team (250 vs 150); and more than 250 new bundles have been created on Github (440 vs 170).

Another way to understand the level of the community commitment is to compare it with other projects. Symfony2 is currently the most popular PHP project on Github (most forked and most watched overall) and the 12th most forked project for the whole Github platform. That's just astonishing!

The Symfony2 community is also hard at work to create a great ecosystem of additional libraries that work well with Symfony2 like Assetic, Monolog, Twig, Imagine, and many more.

The Code

Symfony2 embraces standards: First, Symfony2 is willingly centered around the HTTP specification (just have a look at the built-in HTTP reverse proxy). Then, we are embracing the PHP standards: PHPUnit, namespaces, PSR-0 autoloader, ... That makes Symfony2 easily interoperable with many other great PHP libraries.

Symfony2 is decoupled: Beside being a full-stack framework, Symfony2 is also a set of decoupled and cohesive components; Symfony2 is made of 21 components that can be used as standalone libraries: they have their own Git repositories, and they are all available as PEAR packages.

Symfony2 has many innovations that are unique in the PHP world:

  • Symfony2 uses the Dependency Injection pattern extensively and it comes with a built-in Dependency Injection Container. It makes Symfony2 very flexible and easily customizable.

  • Symfony2 is packaged as Distributions: A distribution is a pre-configured Symfony2 project with a selection of bundles and sensible defaults. The Symfony Standard Edition also comes with a Web configurator. That makes the installation and configuration of a new Symfony2 project fast and insanely easy.

  • Everything is a Bundle in Symfony2: A bundle is a directory containing a set of files (PHP files, stylesheets, JavaScripts, images, ...) that implement a single feature (a blog, a forum, etc). That changes everything. Share your bundles between your projects or publish them in the wild.

  • Symfony2 is Fast: the raw performance of the framework is great, but there is more. By embracing the HTTP standard, and thanks to the ESI standard, you can make your application fly very easily. Make your application as dynamic as you need it to be, and still benefit from HTTP caching. And if you can afford the installation of a reverse proxy like Varnish, the performance of your application will just be incredible.

  • Symfony2 eases the debugging of your application thanks to the Web Debug Toolbar and the Profiler: symfony1 was the very first major framework to come with a web debug toolbar. Symfony2 pushes the limits even further with a brand new debug toolbar and the introduction of a gorgeous profiler. The profiler gives you all the information you need to understand what's going on behind the scene in case of a problem.

  • Symfony2 simplifies your life as much as possible: we have worked hard to give you the best experience possible. After installing a distribution, the interactive generators will help you generate code easily by guiding you through some simple questions. And when an error occurs, Symfony2 goes beyond displaying the error message: it displays the whole stack trace, the linked exceptions, and all the files are one-click away from your IDE. We have also tweaked the error messages to make them as comprehensible as possible.

  • Symfony takes Security very seriously. The Security component gives you all the tools you need to secure your applications: from the simple form logins to the more advanced X.509 certificates and ACLs, everything is as easy as adding a few settings in a configuration file. We have gone as far as implementing time-based attacks protection. Speaking of security, and thanks to the community again, the whole code base has been audited recently by SektionEins and all their remarks have been taken into account.

The Documentation

As you all know, code is not everything. Symfony2 also comes with great documentation. The documentation is made of a "Quick Tour" tutorial, a Book, a Cookbook; but also an index, a glossary, and a reference section. And for hardcore documentation, you can have a look at the beautiful API documentation.

Thanks to the migration to Git and the usage of the ReST format, contributing to the documentation has never been easier. In fact, more than 140 people have contributed to the documentation. That's amazing! Thanks to them, we already have more than 60 cookbook entries.

How to get started?

If you want to give Symfony2 a try, download the Symfony2 Standard Edition and read the Quick Tour.

If you are coming from a symfony1 background, read the How Symfony2 differs from symfony1 cookbook article to learn more about the main differences.

Celebrate!

Now that Symfony2 is released, it's time to celebrate.

Comments RSS

  • gravatar
    #1 Matthieu said on the 2011/07/28 at 11:51
    Awesome, congrats!
  • gravatar
    #2 Marcel Beerta said on the 2011/07/28 at 11:52
    Congratualations Symfony Community and thank you for all the hard work you have put into this Release!
  • gravatar
    #3 Antonio Peric said on the 2011/07/28 at 11:53
    Finally!
    Great job, congrats!
  • gravatar
    #4 Tamer Ibrahim said on the 2011/07/28 at 11:53
    Congraaaaaaaaaaaaaaaaaats
  • gravatar
    #5 Ph3nol said on the 2011/07/28 at 11:53
    Congrats!
  • gravatar
    #6 Shuro said on the 2011/07/28 at 11:53
    Congrats!

    But I can say i downloaded it as the first, because i tried rewriting the url 10 minutes before publishing it official.
    *tihi*

    But good work!
  • gravatar
    #7 Alaattin Kahramanlar said on the 2011/07/28 at 11:54
    Congratulations to you all! I'm sure your effords will be appreciated globally.

    Looking forward to have official practical documentation released as well.
  • gravatar
    #8 Noel said on the 2011/07/28 at 11:54
    Congrats!!
  • gravatar
    #9 Andrey Esaulov said on the 2011/07/28 at 11:54
    That is a wonderfull news! Conratulations to the team and Fabpot personally. You make our lifes worthwhile =)
  • gravatar
    #10 John Wards said on the 2011/07/28 at 11:56
    Yes! Well done everyone for their hard work.
  • gravatar
    #11 Sergio Tudela Romero said on the 2011/07/28 at 11:56
    Congratz !!!

    Opppss... "If you want to give Symfony2 a try, download the Symfony2 Standard Edition and read the Quick Tour."

    Address download link: http://symfony.com.localhost/app_dev.php/download :D !!!
  • gravatar
    #12 Cystbear said on the 2011/07/28 at 11:56
    Hooray!!!! At least.
  • gravatar
    #13 delphiki said on the 2011/07/28 at 11:57
    Awesome work, congratulations!
  • gravatar
    #14 geekaume said on the 2011/07/28 at 11:59
    Does a tutorial like jobeet for Symfony 1 will be written ?
  • gravatar
    #15 Kertz said on the 2011/07/28 at 12:00
    Yey!!!
  • gravatar
    #16 patlecat said on the 2011/07/28 at 12:01
    Marvelous, thanks a bunch for your efforts. I'm only missing 2 things here to make me a woman:

    + AdminUI-Generator
    + Documentation in the style of Symfony 1.x

    When can we count on these?
  • gravatar
    #17 Ruud said on the 2011/07/28 at 12:01
    Wiieehoooooo!!!
  • gravatar
    #18 James said on the 2011/07/28 at 12:02
    Anybody compared performance of Symfony2 with Ruby on Rails? What is the difference?
  • gravatar
    #19 Jakub Zalas said on the 2011/07/28 at 12:03
    This is sooo awesome!
  • gravatar
    #20 jeremyFreeAgent said on the 2011/07/28 at 12:05
    Awesome ! congrats ! I love it !
  • gravatar
    #21 Alexander said on the 2011/07/28 at 12:05
    Yeahh !! Contrats !! AND THANKS A LOT !!!
    > Does a tutorial like jobeet for Symfony 1 will be written ?
  • gravatar
    #22 Samy Dindane said on the 2011/07/28 at 12:07
    Congrats! Thank you all for your work and let the show begin!
  • gravatar
    #23 Chechu said on the 2011/07/28 at 12:09
    Today is the day!!!
  • gravatar
    #24 winzou said on the 2011/07/28 at 12:12
    Amazing guys! Great job!
  • gravatar
    #25 Christian said on the 2011/07/28 at 12:13
    Thanks to you Fabien and all contributors for your awesome work! I'm sure Symfony2 will revolutionize the PHP world as it already has in some parts. Well done and thanks!
  • gravatar
    #26 jaugustin said on the 2011/07/28 at 12:14
    Good news, I am using it for 4 month it's awsome, but I hope the 2.1 will come soon, to add all the missing things needed to be productive.
  • gravatar
    #27 Artur said on the 2011/07/28 at 12:35
    Bravo!!!
  • gravatar
    #28 IamPersistent said on the 2011/07/28 at 12:39
    Congrats and thanks to everyone involved. Fabien, thanks for leading this.
  • gravatar
    #29 Berny Cantos said on the 2011/07/28 at 12:40
    Thanks for all the efforts made to create this wonderful framework! Congratulations!!
  • gravatar
    #30 Jacob Dreesen said on the 2011/07/28 at 12:41
    Congratulations to the final release!
    Symfony2 is an really awesome framework :)
  • gravatar
    #31 Damian Kopiec said on the 2011/07/28 at 12:42
    Great news!!! congrats!!!!
  • gravatar
    #32 Praveen said on the 2011/07/28 at 12:42
    Congrats
  • gravatar
    #33 odino said on the 2011/07/28 at 12:51
    DAJE!
  • gravatar
    #34 Sylvio said on the 2011/07/28 at 12:53
    Symfony2 ça poutre du poney !

    Congrats ! 250 contributors before final release...

    ...maybe that means that there will be many more for next major release because a lot of developpers will start now to use the framework and will want to enhance it by different ways...
  • gravatar
    #35 Tobias Irmer said on the 2011/07/28 at 12:54
    Congratulations & a big thank you! Can't wait to use Symfony2. Literally, starting now :)
  • gravatar
    #36 manu said on the 2011/07/28 at 12:54
    Champagne !
  • gravatar
    #37 Vincent said on the 2011/07/28 at 12:56
    That's one small step for a man, a giant leap for mankind... developers !

    Bravo !
  • gravatar
    #38 Yannick K. said on the 2011/07/28 at 13:01
    Great work !
  • gravatar
    #39 Lars said on the 2011/07/28 at 13:01
    Congrats, awesome work!
  • gravatar
    #40 Marco Pivetta said on the 2011/07/28 at 13:06
    Congratulations!
    This is a huge step in web development... Hope it will help others write quality code!

    I didn't notice it was Symfony2 release date: you just made this day brighter! :D
  • gravatar
    #41 Daniel Gomes said on the 2011/07/28 at 13:08
    Awesome!! Congrats
  • gravatar
    #42 Michael said on the 2011/07/28 at 13:10
    Congratulations! Awesome work.
  • gravatar
    #43 MasterB said on the 2011/07/28 at 13:14
    Time to have a look now?
  • gravatar
    #44 Dennis Verspuij said on the 2011/07/28 at 13:22
    Awesome work, many thanks and congratulations!
  • gravatar
    #45 keymaster said on the 2011/07/28 at 13:22
    Many thanks to you Fabien, and to the entire team behind you for making the world's best php framework.
  • gravatar
    #46 Herry Truong said on the 2011/07/28 at 14:00
    Thanks Symfony! Happy, Happy and Happy
  • gravatar
    #47 Keszeg Alexandru said on the 2011/07/28 at 14:06
    Finally! Congrats for all the work.
  • gravatar
    #48 sf2 addict said on the 2011/07/28 at 14:07
    at last!
    many thanks and congrats to the team!
  • gravatar
    #49 john vollmer said on the 2011/07/28 at 14:37
    Great product Fabien. The best thing about Symfony2 is the much improved documentation 'The Book'. Very well written and easy to understand. Thanks for all your hard work!!!!
  • gravatar
    #50 Eveline Kaik said on the 2011/07/28 at 14:44
    Bravo and congrats to everyone for their great work.
  • gravatar
    #51 webornot said on the 2011/07/28 at 14:48
    Congrats !
    Thanks to Fabien and all of contributors...
  • gravatar
    #52 Marcelo Rodrigues said on the 2011/07/28 at 14:49
    Awesome! Congratulations Symfony community. Great job.
  • gravatar
    #53 Conor Armstrong said on the 2011/07/28 at 14:56
    Weel dony to all involved.
  • gravatar
    #54 Nicolas Charlot said on the 2011/07/28 at 14:58
    Congrats!
  • gravatar
    #55 Alex said on the 2011/07/28 at 15:03
    Congratulations to everyone!

    I think I know what I'm doing this long weekend!
  • gravatar
    #56 nitesh said on the 2011/07/28 at 15:09
    congrats :-) put some tutorial videos also
  • gravatar
    #57 nitesh bagri said on the 2011/07/28 at 15:10
    congrats :-) put some tutorial videos also
  • gravatar
    #58 Zuhair Naqvi said on the 2011/07/28 at 15:18
    Fabien is my Hero <3

    Well done team Symfony!!
  • gravatar
    #59 Ovidiu C. said on the 2011/07/28 at 15:19
    Awsome! Is there any more information available about the security audit? Like: what their finds and recommendations were?
  • gravatar
    #60 Morten Amundsen said on the 2011/07/28 at 15:20
    Congratulations to you, Fabien, and everybody involved! Great job!
  • gravatar
    #61 jms said on the 2011/07/28 at 15:34
    Superbe nouvelle !
    Merci à toute l'équipe :-)
  • gravatar
    #62 Bartek said on the 2011/07/28 at 15:46
    Awesome job. Can't wait for use it in our company!
  • gravatar
    #63 jletellier said on the 2011/07/28 at 15:48
    Thank you so much. This is awesome!
  • gravatar
    #64 Atko said on the 2011/07/28 at 15:59
    It's awesome! Thank you for the work guys!
  • gravatar
    #65 Carlos said on the 2011/07/28 at 16:08
    Awesome! Thanks! Cheers fellow symfonians
  • gravatar
    #66 Jérôme Poskin said on the 2011/07/28 at 16:12
    Yeah, great ! It was funny to reinstall the framework every week, but I will be more happy to start working on real project with this final release.

    Thanks a lot for your work :)
  • gravatar
    #67 Hamza said on the 2011/07/28 at 16:19
    Bravo !
  • gravatar
    #68 m47730 said on the 2011/07/28 at 16:25
    I was expecting some fireworks on the homepage that announce this great news!

    Congratulations!
  • gravatar
    #69 Le Barde said on the 2011/07/28 at 16:30
    Je commence mon premier /Gros/ projet ; ce sera avec Symfony2, que je surveille depuis quelque temps.

    Bravo pour tout ceci, bravo pour la doc ! (Il ne manque plus qu'à la proposer en un gros PDF !)
  • gravatar
    #70 reouven said on the 2011/07/28 at 16:32
    Bravo à tous. J'espère pouvoir apporter ma pierre à ce fabuleux framework un jour ou l'autre. Merci pour tout.
  • gravatar
    #71 Guillermo Fuentes said on the 2011/07/28 at 16:57
    Awesome!
    Open source spirit at its best!
    Thank you so very much for your hard work!
  • gravatar
    #72 Victor said on the 2011/07/28 at 16:59
    Congrats.

    And thanks for such a beautiful piece of software.
  • gravatar
    #73 Diego Sainz said on the 2011/07/28 at 17:07
    Congrats to the great Symfony2 dev team! The form migration has been painful but it was a good call to do it, we have been since PR1... and for sure will celebrate BIG!!
  • gravatar
    #74 Kadeer said on the 2011/07/28 at 17:44
    Congratulations. Woooohooo!
  • gravatar
    #75 Kadeer said on the 2011/07/28 at 17:48
    Congratulations to ALL. Woooohooo!
  • gravatar
    #76 WevDevPT said on the 2011/07/28 at 18:05
    Yay! :D

    now it's time to update/create/rebuild tutorials on your website to keep up with all the changes since 1.x

    Keep up the awesome work
  • gravatar
    #77 saganxis said on the 2011/07/28 at 18:09
    Congrats!!!
  • gravatar
    #78 Paxton said on the 2011/07/28 at 18:45
    Awesome, I was waiting for this for months! Thank you guys.
  • gravatar
    #79 Xavier said on the 2011/07/28 at 19:19
    Felicidades !!
  • gravatar
    #80 Gabriel said on the 2011/07/28 at 19:34
    Congratulations!! I think Symfony 2 is great: It has the best of PHP and other languages and technologies. Now, spread the word. People should create full tutorials of real applications like blogs, cms, and others, making Symfony 2 popular.
  • gravatar
    #81 Nicolás said on the 2011/07/28 at 19:47
    Congratulations regards from Uruguay!!
  • gravatar
    #82 Rafix said on the 2011/07/28 at 20:03
    Awesome work!! Congratulations Symfony Community!!!! Thanks Fabien for your dedication and perseverance, you are my hero! ;)
  • gravatar
    #83 eklers said on the 2011/07/28 at 20:05
    The wait is over!
    Symfony2 - hurray!
  • gravatar
    #84 Maikel Ortega Hernández said on the 2011/07/28 at 20:22
    Un gran trabajo el que han realizado para poder ofrecernos esta nueva versión de Symfony, muchas gracias por todo el esfuerzo realizado
  • gravatar
    #85 Oscar B. said on the 2011/07/28 at 20:51
    Hurra!!!!!!!!!!!! Congratulations to everybody. This is so amazing :')
  • gravatar
    #86 Christian said on the 2011/07/28 at 20:56
    Awesome.. going to take a closer look this evening :)
  • gravatar
    #87 Cécil said on the 2011/07/28 at 21:15
    An honorable achievement! Congratulations to the whole community!
  • gravatar
    #88 Dextro said on the 2011/07/28 at 21:22
    Congrats and thanks!
  • gravatar
    #89 Diego Ramirez said on the 2011/07/28 at 21:47
    Congratulations to the team!. Well done.
  • gravatar
    #90 Ricky said on the 2011/07/28 at 22:25
    awsome!! fantastic job!! very proud of you guys' hard work!
  • gravatar
    #91 Johnny Peck said on the 2011/07/28 at 23:17
    Congratulations to all involved. Symfony2 is very impressive indeed.
  • gravatar
    #92 superhaggis said on the 2011/07/28 at 23:53
    Nicely done! Can't wait to start using it in a production environment.
  • gravatar
    #93 José Ignacio Medina said on the 2011/07/28 at 23:57
    That's great. Congratulations to all Symfony team for your hard work.
  • gravatar
    #94 th3minimalista said on the 2011/07/29 at 01:52
    felicidades a los desarrolladores de symfony por su gran trabajo y un saludo desde venezuela

    symfony el mejor framework de desarrollo php xD
  • gravatar
    #95 Corey McMahon said on the 2011/07/29 at 03:22
    Congrats guys! Can't wait to check out the new features
  • gravatar
    #96 Enkuso said on the 2011/07/29 at 04:01
    Congratz all and thank you for your great awesome work. Long live Symfony2.

    yea its time to celebrate :)
  • gravatar
    #97 Dong said on the 2011/07/29 at 05:55
    At last...., great!
  • gravatar
    #98 Daniel Graetzer said on the 2011/07/29 at 08:49
    Congratulations Fabien, Francois & co! Can't wait to release our first app using it!!
  • gravatar
    #99 David Castelló said on the 2011/07/29 at 09:26
    Great job! Congrats!
  • gravatar
    #100 Fatih Ergüven said on the 2011/07/29 at 09:31
    Congratulations to the Symfony Community!
  • gravatar
    #101 Mescalinich said on the 2011/07/29 at 09:43
    Oh, thats great! Congrats!!!
  • gravatar
    #102 Laurynas Mališauskas said on the 2011/07/29 at 10:02
    Symfony2 - #1 PHP framework in the world! Other frameworks will have to learn a lot from Symfony2
  • gravatar
    #103 Mark said on the 2011/07/29 at 10:23
    I would like to know if the documentation (mainly the book) is in line with this final release or the team is going ti update it thanks
  • gravatar
    #104 g2one network said on the 2011/07/29 at 12:15
    thanks for sharing your idea...........
  • gravatar
    #105 Tamcy said on the 2011/07/29 at 13:38
    Congratulations to the Symfony team!
  • gravatar
    #106 Stepan Tanasiychuk said on the 2011/07/29 at 13:48
    It's good job! I'm happy :)
  • gravatar
    #107 COil said on the 2011/07/29 at 14:04
    Long life to Symfony2 ! ;)
  • gravatar
    #108 Pablo said on the 2011/07/29 at 14:05
    YEEEHHHAAA!! Symfony2 FTW!
  • gravatar
    #109 Arpit Rawat said on the 2011/07/29 at 14:37
    @nitesh bagri : i don't think video tutorial is needed here..because they explained each and every thing so clearly here in documentation..may be you are little bit dumb to understand from here thats why you want video tutorials .. hats off to Symfony Team.
  • gravatar
    #110 Tobias Hourst said on the 2011/07/29 at 15:13
    Thanks a lot for you hard work! Very much appreciated!
  • gravatar
    #111 Sanjay said on the 2011/07/29 at 19:31
    Awesome ! congrats ! I love it !
  • gravatar
    #112 Mirko Lazarevic said on the 2011/07/29 at 20:27
    Ooooo yeah. Let the game begin :-D
  • gravatar
    #113 Baatarchuluun said on the 2011/07/30 at 09:39
    Hi, Congrats.

    Can I use Symfony2 about big project? Where the Symfony2 plugins?
  • gravatar
    #114 Good Job! said on the 2011/07/30 at 10:38
    Gratz!
  • gravatar
    #115 Leamas said on the 2011/07/30 at 21:18
    Congratulations! Great extensive documentation. Looking forward to magento / wordpress / drupal / phpBB -like distrubutions.
  • gravatar
    #116 adrian said on the 2011/07/31 at 10:49
    get laid techno losers
  • gravatar
    #117 hungle said on the 2011/08/01 at 05:36
    Wonderful guys !
  • gravatar
    #118 Liang Zhenjing said on the 2011/08/01 at 05:43
    great works!
    thank you for bring this amazing framework to us!
  • gravatar
    #119 Nicolas said on the 2011/08/01 at 11:43
    Bravo, and thank you
  • gravatar
    #120 Muhammdali Shaduli said on the 2011/08/01 at 12:13
    Fabien! Awesome.

    But we need the 1.4 like magic too in symfony 2
  • gravatar
    #121 Mohammad said on the 2011/08/01 at 17:30
    Awesome,
    The best news for today, congrats
    :D
  • gravatar
    #122 Gonzalo said on the 2011/08/02 at 01:34
    Buen trabajo Fabien y bienvenido sea Symfony2.
  • gravatar
    #123 gesnal said on the 2011/08/02 at 14:24
    Is there any possiblity for an automatic migration from Symfony 1.x ?
  • gravatar
    #124 Diogo said on the 2011/08/10 at 00:00
    Thanks for this amazing job. To all the developers and contributors.
    This is (and will continue to be) the best PHP framework. So well structured, complete and documented.
  • gravatar
    #125 Antonio Peric said on the 2011/08/10 at 11:43
    Hi,
    you have bug with checking mime types. It always return null, so i changed in file class validation: getMimeType with getClientMimeType and now it works well

    Best regards
  • gravatar
    #126 write my essay said on the 2011/08/24 at 11:09
    Thank you and congratulations! Great job. Really love it!
  • gravatar
    #127 SymFoFan said on the 2011/09/07 at 18:57
    Very nice! I've tried to work with Symfony 1.4 a few times, but I could never really wrap my head around it. Symfony 2.0 seems so much more logical and approachable. The quality of both concept and execution is outstanding. Bravo!
  • gravatar
    #128 Stas said on the 2011/09/15 at 08:53
    I suggest to add info about special IDE for Symfony framework - http://www.codelobster.com/symfony.html