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 and Laravel not supported any longer #132

Open
JulianMar opened this issue Feb 7, 2024 · 7 comments
Open

Symfony and Laravel not supported any longer #132

JulianMar opened this issue Feb 7, 2024 · 7 comments

Comments

@JulianMar
Copy link
Contributor

Hello,

the package is still dependant on dbal v2. The newest Release ist v4 and soon there will be v5.
Symfony 7 and Laravel 10 dropped support for this dbal version.

Here is the conflict in the package.json of the Symfony package.
https://github.com/symfony/symfony/blob/7.1/composer.json#L167

Do you have an idea how to upgrade?

@amotl
Copy link
Member

amotl commented Mar 18, 2024

Dear Julian,

thank you for writing in. Can you evaluate if using CrateDB's PostgreSQL interface would be a viable option, similar to what is suggested over at the proprietary CrateDB DBAL adapter?

[...] to check if it will be feasible to use the PostgreSQL protocol directly by using the PostgreSQL PDO extension.

We are maintaining two example exercises that demonstrate how to use CrateDB's PostgreSQL interface using PHP:

Please let us know if this may help in any way, so we can improve the guidance on our documentation.

With kind regards,
Andreas.

@amotl
Copy link
Member

amotl commented Mar 18, 2024

On another note, please also have a look at the Crate.io driver for Laravel maintained by @RatkoR. Maybe we can bring together interested people to improve PHP support for CrateDB in one way or another, or alternatively, his adapter is exactly what you have been looking at? It claims that:

Laravel 5.5, 6, 7, 8, 9 and 10 are supported.

@RatkoR
Copy link

RatkoR commented Mar 19, 2024

@JulianMar knows about Crate.io driver for Laravel, he has contributed much to it.

I'd also be interested in moving dbal to newer version.

@amotl
Copy link
Member

amotl commented Mar 19, 2024

Thanks for your quick response, @RatkoR.

Do you think switching over to use CrateDB's PostgreSQL interface would be a viable option to resolve the dilemma, as outlined at #132? Is it important to you to stick to the HTTP protocol, or doesn't it matter much to you in general?

@amotl
Copy link
Member

amotl commented Apr 15, 2024

Dear Julian,

because your question is about DBAL and Doctrine, would it be better to be carried over to https://github.com/crate/crate-dbal?

With kind regards,
Andreas.

@JulianMar
Copy link
Contributor Author

Hey @amotl, you are right it's more an issue of the Crate DBAL. Maybe we can try to convert it to be using the ProstgreSQL PDO. I'm not sure if I'm able to add a PR for this, but I could try. I just need some time.

@amotl amotl transferred this issue from crate/crate-pdo Apr 16, 2024
@amotl amotl changed the title Symfony and Laravel not supported anymore Symfony and Laravel not supported any longer Apr 16, 2024
@amotl
Copy link
Member

amotl commented Apr 16, 2024

Hi Julian. I've transferred the issue to the right repository. I guess both of those issues we are looking at, right?

I'm not sure if I'm able to add a PR for this, but I could try. I just need some time.

All contributions are greatly appreciated. Please take your time.

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

No branches or pull requests

3 participants