Download the PHP package networkteam/neos-sentryclient without Composer
On this page you can find all versions of the php package networkteam/neos-sentryclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download networkteam/neos-sentryclient
More information about networkteam/neos-sentryclient
Files in networkteam/neos-sentryclient
Package neos-sentryclient
Short Description A sentry client for Neos CMS
License MIT
Informations about the package neos-sentryclient
Networkteam.Neos.SentryClient
This is a Sentry client package for the Neos CMS (https://www.neos.io).
It's based on https://github.com/getsentry/sentry-php.
Have a look at https://sentry.io for more information about Sentry.
Installation:
$ composer require networkteam/neos-sentryclient
Configuration:
Add the following to your Settings.yaml
and replace the dsn
setting with your project DSN (API Keys in your Sentry project):
Networkteam:
SentryClient:
# The Sentry DSN
dsn: 'http://public_key:[email protected]/project-id'
You can implement the \Networkteam\SentryClient\User\UserContextServiceInterface
to pass your own user context
information to the logging. If you do not have the TYPO3.Party Package and don't want to implement your own
UserContextService
you need to set the \Networkteam\SentryClient\User\DummyUserContext
in the Objects.yaml like
Networkteam\SentryClient\User\UserContextServiceInterface:
className: Networkteam\SentryClient\User\DummyUserContext
This will prevent any collection of user information except information that is available via the Flow SecurityContext.
Usage:
Sentry will log all exceptions that have the rendering option logException
enabled. This can be enabled or disabled
by status code or exception class according to the Flow configuration.
Development:
This package is managed on GitHub. Feel free to get in touch at https://github.com/networkteam/Networkteam.Neos.SentryClient.
License:
See the LICENSE file for license rights and limitations (MIT).
All versions of neos-sentryclient with dependencies
neos/neos Version ~4.0 || ~5.0 || ~7.0 || ~8.0