Install extension with composer
composer require jannovy/sentry-nette
Register extension in common.neon file and setup DSN and environment
extensions:
sentry: Prototype\Sentry\SentryExtension
sentry:
dsn: {your sentry DSN}
environment: localhost