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

Symfony/Silex bridges #24

Open
soullivaneuh opened this issue Jun 23, 2017 · 4 comments
Open

Symfony/Silex bridges #24

soullivaneuh opened this issue Jun 23, 2017 · 4 comments

Comments

@soullivaneuh
Copy link

Provide some bridges for function auto-loading and configuration would be a nice addition, would not be?

I may provide some PRs for that.

@luxifer
Copy link
Owner

luxifer commented Jun 23, 2017

Maybe in a separate package ? I'll see with the PR

@soullivaneuh
Copy link
Author

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.

@luxifer
Copy link
Owner

luxifer commented Jun 23, 2017

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)

@soullivaneuh
Copy link
Author

I'll give a try when I'll have some time to see if it worth.

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

No branches or pull requests

2 participants