Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


[RFC] Replace the configuration part #285

willdurand opened this Issue · 6 comments

8 participants


... with something else.

The Generator configuration is tied to Phing, because of the file syntax (pseudo ini file). There are tons of propel. lalala everywhere, and I tend to hate that.

The Symfony2 Config component seems a good candidate to handle that part:

We have tons of build properties. It doesn't make sense to keep this naming, and the component introduced above could help us to build a strong configuration (thanks to the TreeBuilder). We can support configuration in different formats, and so on.

What do you think?


:+1: I'm sure it'll be part of a lot of oss projects, and being able to have configuration on yaml, php or may be annotations is great + the benefits of maintenance :)


As most Symfony components, I think this one is overengineerd (LoaderResolver? How about a FileVoterLoaderResolverInterface?)

But it's not as if we had a choice (

So ok for me. But it's a tough job.


The OptionResolver can also be used.


I would be +1 if we decide to support multiple configuration formats otherwise we could stay on a simple handmade solution.


Not supporting php configuration format in 1.6 is a big entry barrier for my use case.

So please do, I think is a great idea :-)

@cristianoc72 cristianoc72 referenced this issue

[WIP] Configuration system refactor #527

4 of 4 tasks complete

This issue should be closed (imho).

@marcj marcj closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.