Download the PHP package mez/zend-expressive-sentry without Composer
On this page you can find all versions of the php package mez/zend-expressive-sentry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mez/zend-expressive-sentry
More information about mez/zend-expressive-sentry
Files in mez/zend-expressive-sentry
Package zend-expressive-sentry
Short Description Sentry Error Logging for Zend Expressive
License MIT
Informations about the package zend-expressive-sentry
Zend Expressive Sentry
This is a quick addon for Zend Expressive to allow it to report it's errors to Sentry
Configuration instructions
Add the class \Mez\Sentry\ConfigProvider
to your main config aggregation
For example:-
This will then automatically add Sentry as an error listener.
You can configure the DSN by defining it in your config files - we suggest copying config/sentry.global.php.dist
to
your app's config/autoload
and renaming it to sentry.global.php
- add in your DSN (or set the environment variable)
and you're all done!
Contributors
Thanks goes to these wonderful people (emoji key):
Martin Meredith 💻 📖 |
Chris Ivens 💻 🚧 |
Ivo Kuzov 🐛 |
Dubravszky József 💻 |
David Bristol 🤔 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
All versions of zend-expressive-sentry with dependencies
sentry/sentry Version ^1.10
zendframework/zend-stratigility Version ^3.0
zendframework/zend-servicemanager Version ^3.4