Remove Abandoned Laminas Packages and Suggest Alternatives #105
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes the abandoned Laminas packages (
laminas-db
,laminas-mail
,laminas-log
) from the project and suggests replacing them with other alternatives such asmonolog/monolog
andsymfony/mailer
. Users of the package can select any logger implementation based onpsr/log
and use Monolog handlers to get email functionality based on Symfony Mailer instead of relying on the Laminas packages.Changes:
Remove Laminas Packages:
laminas-db
,laminas-mail
, andlaminas-log
fromcomposer.json
.Update Configuration:
monolog/monolog
andsymfony/mailer
.Instructions for Users:
psr/log
and use Monolog handlers for email functionality.Detailed Changes:
composer.json
:php/ErrorHeroModule/config/module.config.php
:Instructions for Users:
psr/log
.Testing:
Note:
composer.json
and configuration files accordingly.Closing:
This PR aims to modernize the package by removing dependencies on abandoned Laminas packages and providing more flexible and widely-used alternatives and support the latest versions of PHP. It also reduces the complexity of the package itself.