Migrate to symfony 4 from symfony 3.4

Jigar Pancholi picture Jigar Pancholi · May 25, 2018 · Viewed 8.9k times · Source

My project is currently setup with 3.4 version of symfony. I want to move to symfony4. So I moved to symfony4 as per suggestions in http://symfony.com/doc/current/setup/upgrade_major.html.

In my current project there are many custom bundles are created in src directory. But now in Symfony 4 there is no bundle structure.

So please guide me how can I proceed with my existing bundles in Symfony4?

Thanks in advance...

Answer

Zahori picture Zahori · May 25, 2018

You can follow the tuto made by Symfony, right here: https://symfony.com/doc/current/setup/upgrade_major.html (you already done that)

And then to update you project structure: https://symfony.com/doc/current/setup/flex.html#upgrade-to-flex