Symfony 2 multiple apps?

后端 未结 6 1566
灰色年华
灰色年华 2021-01-31 12:06

This appears to be the scariest topic relating to Symfony2, as after a week of searching and testing, I am still unable to find an answer to this.

In short, I am buildin

6条回答
  •  春和景丽
    2021-01-31 13:02

    Multiple applications projects can be achieved by splitting your code in multiple Kernels.

    You can then benefit:

    • multiple web roots (useful for differents domains)
    • shared & specific config (via imports)
    • clean separation of Bundles...

    I have described the whole process here: http://jolicode.com/blog/multiple-applications-with-symfony2 and you can find an example distribution here: https://github.com/damienalexandre/symfony-standard

提交回复
热议问题