Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Global" bundle configuration #90

Open
althaus opened this issue Jun 19, 2014 · 3 comments
Open

"Global" bundle configuration #90

althaus opened this issue Jun 19, 2014 · 3 comments

Comments

@althaus
Copy link

althaus commented Jun 19, 2014

Hey,

we're working on a modularized app... e.g. customers can choose which bundles to install. Based on the doc you have to activate each bundle one by one. Is there a way to preset a global config which will then be used by each available bundle? I'd imaging something like bundles.default and the SpBowerBundle would then iterate over all bundles and check if there's a bower.json at the given location.

Cheers
Matthias

@Spea
Copy link
Owner

Spea commented Jun 30, 2014

Currently there is no way to do this. I'd be happy for every contribution since I'm currently kinda busy and only can work on this project when I have some spare time.

@althaus
Copy link
Author

althaus commented Jul 1, 2014

Ok... I'll keep this open for now and see in what direction our development goes.

@ghost
Copy link

ghost commented Jul 11, 2014

you could try using this to configure the bundle based on installed bundles.

http://symfony.com/doc/current/cookbook/bundles/prepend_extension.html

I assume you have some bundle that manages the installation of other bundles.

Alternatively you could write a compiler pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants