2017 © Pedro Peláez
 

neos-package sentryclient

A sentry client for Flow and Neos

image

networkteam/sentryclient

A sentry client for Flow and Neos

  • Friday, March 16, 2018
  • by monofone
  • Repository
  • 8 Watchers
  • 6 Stars
  • 8,609 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 3 Open issues
  • 18 Versions
  • 14 % Grown

The README.md

Networkteam.SentryClient

This is a Sentry client package for the Flow framework. If you want to use this package with Neos CMS please use Networkteam.Neos.SentryClient instead., (*1)

It's based on https://github.com/getsentry/sentry-php., (*2)

Have a look at https://sentry.io for more information about Sentry., (*3)

Installation:

$ composer require networkteam/sentryclient

Compatibility table for the sentry client, (*4)

There was a failure in the versioning scheme for the client from 1.0.3 on. This is fixed with the 2.x and 3.x versions., (*5)

Flow SentryClient
>= 5.0.0 >= 5.x
>= 4.0.0 < 5.0 4.x
>=2.3.9, >=3.0.3 3.x, >1.0.3
<2.3.9, <3.0.3 2.x, <1.0.3

Configuration:

Add the following to your Settings.yaml and replace the dsn setting with your project DSN (API Keys in your Sentry project):, (*6)

Networkteam:
  SentryClient:
    # The Sentry DSN
    dsn: 'http://secret_key@your-sentry-server.com/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 Neos.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, (*7)

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., (*8)

Release tracking:

A Release can be passed to the Sentry client with the environment variable FLOW_RELEASE or by setting the value in a Settings.yaml:, (*9)

Networkteam:
  SentryClient:
    release: '1.2.3-alpha1'

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., (*10)

Development:

This package is managed on GitHub. Feel free to get in touch at https://github.com/networkteam/Networkteam.SentryClient., (*11)

License:

See the LICENSE file for license rights and limitations (MIT)., (*12)

The Versions

16/03 2018

dev-master

9999999-dev

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

16/03 2018

4.1-BETA

4.1.0.0-beta

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

16/03 2018

dev-improved-logging

dev-improved-logging

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

23/08 2017

2.x-dev

2.9999999.9999999.9999999-dev

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

23/08 2017

4.0.2

4.0.2.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

04/05 2017

4.0.1

4.0.1.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

22/03 2017

4.0.0

4.0.0.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

13/10 2016

3.x-dev

3.9999999.9999999.9999999-dev

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

13/10 2016

3.1.0

3.1.0.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

20/09 2016

2.0.1

2.0.1.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

20/09 2016

3.0.1

3.0.1.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

20/09 2016

2.0.0

2.0.0.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

20/09 2016

3.0.0

3.0.0.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

26/02 2016

1.0.4

1.0.4.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

12/01 2016

1.0.3

1.0.3.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

31/08 2015

1.0.2

1.0.2.0

A sentry client for Flow and Neos

  Sources   Download

MIT

The Requires

 

29/07 2015

1.0.1

1.0.1.0

A sentry client for Flow and Neos

  Sources   Download

The Requires

 

04/06 2015

1.0.0

1.0.0.0

A sentry client for Flow and Neos

  Sources   Download

The Requires