A Sentry integration for the Mako Framework

1.0.4 2019-09-25 20:53 UTC

This package is auto-updated.

Last update: 2020-06-30 15:30:38 UTC


A Sentry integration for the Mako Framework.


Mako 7.0 or greater.


Install the package using the following composer command:

composer require mako/sentry

Next you'll have to add a sentry config key to your application.php config file.

'sentry' =>
	'dsn' => 'https://<key><project>',

Then you'll have to replace the default LoggerService with the included LoggerService in the application.php config file.

'services' =>
	'core' =>

And finally you'll have to enable logging to sentry by setting the log_handler key in the application.php config file to the following value:

'log_handler' => ['stream', 'sentry'],

Note that you can disable the default file logging by setting the value to sentry or ['sentry'].