pushinbr / nimbus-sentry
Sentry exception reporting with worker-safe scopes for Nimbus.
Requires
- php: ^8.4
- pushinbr/nimbus: ^0.8
Requires (Dev)
- phpunit/phpunit: ^11.5
- sentry/sentry: ^4.0
Suggests
- sentry/sentry: The Sentry SDK; the reporter stays off without it or without SENTRY_DSN.
Provides
None
Conflicts
None
Replaces
None
README
Sentry exception reporting with worker-safe scopes for Nimbus.
Up to Nimbus 0.7 this code was part of pushinbr/nimbus. From 0.8 the core keeps
only the base framework and the extension points; the Sentry support lives
here, with the same namespaces, so an application only adds the package.
Start here
Install PAM first (curl -fsSL https://push-in.github.io/pam/install.sh | sh), then
add the package to a Nimbus application:
pam composer require pushinbr/nimbus-sentry
SentryReporter::fromEnvironment($app->container())?->install($app);
Documentation: docs/nimbus/observabilidade.md.
Development
The package is developed in the push-in/pam
monorepo (packages/nimbus-sentry); push-in/nimbus-sentry is a read-only split. Its
tests share the runtime stubs and fixtures of packages/nimbus/tests:
cd packages/nimbus-sentry composer config repositories.monorepo '{"type": "path", "url": "../*", "options": {"symlink": true}}' composer update && composer test
License
Apache-2.0. See LICENSE.