We have a problem with the register of the PhoneNumberType DBAL type. Basically we can't register that type conditionally in the Doctrine config. But this is something that can be done in the bundle itself. In Symfony there's a way to do that with the prependExtensionConfig() method. Let's see if anyone wants to implement this idea and submits a pull request. Thanks!
Closing because it hasn't been fixed in two years ... so there seems to be no interest in this ... which is fine, because the decision is always made by the bundle maintainers. Thanks.
We're trying to add your bundle as a Symfony Flex recipe (see https://github.com/symfony/recipes-contrib/pull/36) so people can install it in their apps and have everything autoconfigured.
We have a problem with the register of the PhoneNumberType DBAL type. Basically we can't register that type conditionally in the Doctrine config. But this is something that can be done in the bundle itself. In Symfony there's a way to do that with the prependExtensionConfig() method. Let's see if anyone wants to implement this idea and submits a pull request. Thanks!