S
S
shasoft2015-10-30 13:36:43
symfony
shasoft, 2015-10-30 13:36:43

How to make several sites on the same Symfony sources?

I would not like to copy the source code of Symfony and all resources for each site. How can I make several domains on one source code?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-10-30
Protko @Fesor

Stop saving 100 megabytes per project, it's a penny these days.
But if you are really worried and you will always and 100% have all the dependencies approximately the same, etc. then you can just do your own kernel for each site (AppKernel is replaced by SiteKernel, FooKernel, etc) and your webroots with your own access points. You can at least have your own src ...

D
Denis, 2015-10-30
@prototype_denis

If the sites are within the same project, then ...
www.youtube.com/watch?v=2BLin8j1kWo
And if they are different and have only the vendor daddy in common, then this is definitely saving on matches.
There is also such a thing https://github.com/Letudiant/composer-shared-packa... for those "matches"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question