Closed sumariva closed 1 year ago
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself
If you are looking for an actively maintained package alternative, we recommend:
Sounds about right: using an older version would require zendframework/zend-log
.
From our end, we don't patch for EOL'd PHP versions anyway, so you would need to move to PHP 8.0 or newer regardless.
Ok, so the current solution is to replace the package. I will check if the zendframework/zend-log has the PHP error handler, the feature that I mostly used for laminas-log. I facing some bug on the application not been reported anywhere on server, and tried to add this logger to capture output.
If you added this package from scratch, perhaps consider using the more flexible monolog/monolog
, which also comes with an error handler
Bug Report
Summary
I checked the packagist for the right version to use on my environment, a server with PHP 5.4.x. According to the package list for laminas-laminas-log, version 2.5.1 should be compatible with PHP 5.4. It states that the minimum version should be PHP: >=5.3.23.
But when targeting the project to use a PHP 5.4 environment, it causes a dependency unsatisfiable. The problem is the dependency laminas/laminas-zendframework-bridge ^1.0, that requires PHP 5.6. So, this dependency is wrong or the laminas-log minimum requirements are incorrect.
Current behavior
When executing the composer -W update command, it reports requirements not satisfiable. Your requirements could not be resolved to an installable set of packages.
Problem 1
How to reproduce
Expected behavior
Expected that composer could find a set of packages and update the project.