Laminas-db compatibility with PHP8.4

Hello everybody,
we are using Laminas-DB and are in the process of upgrading to PHP8.4. Laminas-DB requires versions 8.1, 8.2 and 8.3.

Is there a timeline when Laminas-DB will be available for PHP 8.4?

Thank you for your contribution here.

Best regards
Roland

Hi there!

I remember there being a thread on laminas-db a while back, this one:

To quote @ocramius, a laminas-maintainer:

This means that we won’t put improvements in the projects besides:

  • keeping it running
  • security maintenance

In order for laminas/laminas-db to receive new features, improvements and refactoring anything, we need an active maintainer that owns changes applied to the project.

Without such a maintainer, the architectural vision of the project is not there, and any changes landing it it would mostly be “random”, or perhaps just generate chaos and instability.

So, laminas-db is currently in need of a maintainer who can make it compatible to PHP 8.4.

The support of PHP 8.4 can be added without a maintainer. The real problem is Microsoft:

Some more context:

Oop, thanks for clarifying!

Looks like we will not have an upgrade until October, at least:

You should follow:

The continuation of Laminas DB, a database abstraction layer for PHP.

We’re working hard on it. Hopefully it ends up being useful.

How we can use php-db in the live laminas projects? I think in mezzio we have a same problem for a DB

It’s not ready for general use yet but we are getting really close. The first round of packages will only provide support for SQLite, MySQL, and Postgres.

Thanks for the information, MySQL, and Postgres is grate

Microsoft finally updating SQL Server driver Releases ¡ microsoft/msphpsql ¡ GitHub
Support for PHP 8.4 and 8.5 should be available soon.

@JulienH do you use this particular driver? If so, would you be interested in working on the PhpDb package to support it?

I’m not, but according to @froschdesign, it’s because of SQL Server that Laminas-db doesn’t support PHP 8.4.

A new version has been released, which adds the long-awaited support for PHP 8.4.

Hello,

Is is possible to add the support for PHP 8.5 please?

Thank you.