How to Upgrade to Symfony 2.8, then 3.0!

So you want to upgrade to Symfony 3.0? An excellent choice! And guess what, it won't even break your app.

In this tutorial, we'll show you how to upgrade to Symfony 2.8 and then find and fix deprecated features. Then, we'll go to 3.0!

Symfony 3.0 also comes with a new directory structure. It's great, but it takes a little bit of work to move your project to it. One chapter is devoted entirely to converting to that structure.

Go 3.0!


Your Guides

Ryan Weaver Leanna Pelham

Questions? Conversation?

  • 2016-06-21 weaverryan

    Victor said it all perfectly! We will definitely have something on Webpack (and ReactJS) - hopefully in the next couple of months (but can't promise!). Thanks for posting your gists - it's always good to have more resources for people going through this :).

    Cheers!

  • 2016-06-20 Victor Bocharsky

    Hey, Mickael!

    Assetic bundle just was excluded from the Symfony Standard Edition due to its low usage. I mean, Symfony SE could be used for creating API, etc. where Assetic bundle doesn't need entirely. Many devs used Gulp, Webpack, etc. to control their assets. That's another reason why Assetic was excluded. But assetic is a cool bundle and you still could use it in your projects as well if you familiar with it or prefer to control assets with a PHP.

    BTW, we already have a Gulp tutorial if you haven't seen it yet. And most likely we will have a Webpack one in the future according to this Ryan's twit.

    Cheers!

  • 2016-06-18 mickaĆ«l andrieu

    Rafael, if you only need step by step guides: for migration of sf23 to sf28 => https://gist.github.com/mickae... and then migration to sf3 => https://gist.github.com/mickae... . I'm not as good as knp to explain, but it's better than nothing ^^

    weaverryan: the use of assetic is discouraged by Symfony team or not ? I'd like to see instead your integration of recent frontend tools like ... webpack, reactjs and so on ! <3

    Let me know when you will publish your complete tutorial, I will put a link on my gist.

  • 2016-06-15 weaverryan

    Sorry for the delay Rafael - we had to wait a loooong time for AsseticBundle to get a new release that was compatible with Symfony 3.0 (that blocked our upgrade). That's now happened - we'll get this last chapter up in the next few weeks.

    Thanks for the poke!

  • 2016-06-15 Rafael

    Any updates?