letron/error-compat

A PHP 7 compatible error handler for Mako 4

1.0.0 2016-08-16 17:40 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:13:34 UTC


README

This the Mako 5 error handler as a stand-alone package that is ment to be used with Mako 4.5 applications running on PHP 7.

How do I use it?

Install the package using composer:

composer require letron/error-compat

Then open your app/config/application.php configuration file and replace the two Mako error handler services with the letron\error\services\cli\ErrorHandlerService and letron\error\services\web\ErrorHandlerService services.

That's it. You're done!