Open soullivaneuh opened 7 years ago
Maybe in a separate package ? I'll see with the PR
There is two school about this.
For me this does not totally worth it. I did it for one of my project before, and I finally regroup my 3 repository onto one: https://github.com/Soullivaneuh/IsoCodesValidator/tree/3.x/src/Bridge
It's also depends of the quantity of code to make IMHO.
For now, this lib does not provide any bridge to any framework, you can use it in plain PHP or in yaml with Symfony, or whatever. For example this Silex provider for Doctrine ORM https://github.com/dflydev/dflydev-doctrine-orm-service-provider provides the necessary configuration to register new functions. Also it does not makes sense to use this lib only with DBAL as it's pure SQL, whereas the doctrine ORM converts DQL to SQL (depending on the driver)
I'll give a try when I'll have some time to see if it worth.
Provide some bridges for function auto-loading and configuration would be a nice addition, would not be?
I may provide some PRs for that.