PHPackages                             avoutic/web-framework-sentry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. avoutic/web-framework-sentry

ActiveLibrary[Framework](/categories/framework)

avoutic/web-framework-sentry
============================

Sentry module for web-framework

3.0.1(9mo ago)0884MITPHPCI passing

Since Aug 23Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/avoutic/web-framework-sentry)[ Packagist](https://packagist.org/packages/avoutic/web-framework-sentry)[ Docs](https://web-framework.com)[ RSS](/packages/avoutic-web-framework-sentry/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

WebFramework Sentry
===================

[](#webframework-sentry)

Sentry instrumentation for WebFramework, providing performance monitoring and tracing capabilities.

Installation
------------

[](#installation)

```
composer require web-framework/sentry
```

Make sure the definitions file is included in your project by adding it to `definition_files` in your `config.php` file:

```
return [
    'definition_files' => [
        '../vendor/avoutic/web-framework/definitions/definitions.php',
        '../vendor/avoutic/web-framework-sentry/definitions/definitions.php',
        'app_definitions.php',
    ],
];
```

Usage
-----

[](#usage)

The module provides Sentry integration for WebFramework, enabling performance monitoring and distributed tracing. It implements the WebFramework Instrumentation interface to track transactions and spans.

To use Sentry for instrumentation you need to add it in your PHP-DI definitions:

```
