ErrorHeroModule Versions Save

:gem: A Hero for your Zend Framework/Laminas, and Expressive/Mezzio application to log ( DB and Mail ) and handle php errors & exceptions during Mvc process/between request and response

5.1.0

1 year ago

Released: ErrorHeroModule 5.1.0

Latest Version ci build Code Coverage PHPStan Downloads

Feature

✔️ Support doctrine/doctrine-orm-module ^5.0

You can support my work by sponsor me, thank you 💖 💖 💖 https://github.com/sponsors/samsonasik

5.0.1

1 year ago
  • Utilize ArrayLookup Library

5.0.0

1 year ago

Released: ErrorHeroModule 5.0.0

Latest Version ci build Code Coverage PHPStan Downloads

Feature

✔️ Support laminas-cli out of the box (for laminas-servicemanager container)

The usage for laminas-cli can just extends the ErrorHeroModule\Command\BaseLoggingCommand

namespace Application\Command;

use ErrorHeroModule\Command\BaseLoggingCommand;
use Exception;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

final class HelloWorld extends BaseLoggingCommand
{
    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        throw new Exception('some exception logged to DB');
    }
}

and register to your service like in the documentation, that's it!

✔️ Support PHP 8.1+

Removal

  • Drop support of laminas-mvc-console
  • Drop support php 8.0

It took a lot of works to make it reality 💪. You can support my work by sponsor me, thank you 💖 💖 💖 https://github.com/sponsors/samsonasik

4.2.1

1 year ago

clean up composer.json keyword

4.2.0

1 year ago

Remove Auryn support

4.1.1

2 years ago
  • composer 2.2 support
  • clean up stubs
  • PHPStan 1.x level max

4.1.0

2 years ago

ci build Code Coverage PHPStan

Feature:

Add Doctrine Dbal 3.0 support 🎉

4.0.3

2 years ago

Code Quality improvement with add more Rector setlist

4.0.2

2 years ago

Fix example preview console notice -> warning on php 8

4.0.1

2 years ago

Test and doc about E_NOTICE -> E_WARNING fix for undefined array key