PHPackages                             piotrpress/wp-sentry-async - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. piotrpress/wp-sentry-async

ActiveWordpress-plugin[Logging &amp; Monitoring](/categories/logging)

piotrpress/wp-sentry-async
==========================

This plugin allows you to send Sentry events asynchronously by writing them to a log file, which is then processed by a wp-cron job.

v0.1.1(9mo ago)028GPL-3.0-or-laterPHPPHP &gt;=8.2

Since Jul 21Pushed 9mo agoCompare

[ Source](https://github.com/PiotrPress/wordpress-sentry-async)[ Packagist](https://packagist.org/packages/piotrpress/wp-sentry-async)[ Docs](https://github.com/PiotrPress/wordpress-sentry-async/)[ RSS](/packages/piotrpress-wp-sentry-async/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

WordPress Sentry Async
======================

[](#wordpress-sentry-async)

This plugin allows you to send Sentry events asynchronously by writing them to a log file, which is then processed by a wp-cron job.

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

[](#installation)

1. Install and activate [WordPress Sentry](https://github.com/stayallive/wp-sentry/) plugin.
2. Upload and activate [WordPress Sentry Async](https://github.com/PiotrPress/wordpress-sentry-async/) plugin files to the `wp-content/plugins/wp-sentry-async` directory.
3. Add the following lines to your `wp-config.php` file, after the `ABSPATH` definition and before the `wp-settings.php` inclusion:

```
require_once ABSPATH . 'wp-content/plugins/wp-sentry-async/res/transport.php';
require_once ABSPATH . 'wp-content/plugins/wp-sentry-integration/wp-sentry.php';
```

Customization
-------------

[](#customization)

To specify the path for the Sentry log file (default: `wp-content/sentry.log`), add the following line to your `wp-config.php` file before including the `transport.php` file:

```
define( 'WP_SENTRY_LOG_FILE', '/path/to/your/sentry.log' );
```

**NOTE:** Replace `/path/to/your/sentry.log` with the actual path where you want to store the log file.

Rotation
--------

[](#rotation)

To enable log rotation, you can define the log file path with a date suffix. This will create a new log file for each day, allowing you to manage logs more easily. Add the following line to your `wp-config.php` file:

```
define( 'WP_SENTRY_LOG_FILE', ABSPATH . 'wp-content/logs/' . date( 'Y-m-d' ) . '.log' );
```

Requirements
------------

[](#requirements)

Ensure that the web server has write permissions to log file and the file with the same name but with a `.pos` extension.

PHP &gt;= `8.2` version.

License
-------

[](#license)

[GPL v3 or later](license.txt)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance55

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~50 days

Total

2

Last Release

298d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10326736?v=4)[Piotr Niewiadomski](/maintainers/PiotrPress)[@PiotrPress](https://github.com/PiotrPress)

---

Top Contributors

[![PiotrPress](https://avatars.githubusercontent.com/u/10326736?v=4)](https://github.com/PiotrPress "PiotrPress (2 commits)")

---

Tags

asyncasynchronousloggingwordpresssentrywperror-tracking

### Embed Badge

![Health badge](/badges/piotrpress-wp-sentry-async/health.svg)

```
[![Health](https://phpackages.com/badges/piotrpress-wp-sentry-async/health.svg)](https://phpackages.com/packages/piotrpress-wp-sentry-async)
```

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1861.6M3](/packages/justbetter-magento2-sentry)[stayallive/wp-sentry

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry.

385220.3k](/packages/stayallive-wp-sentry)[lordsimal/cakephp-sentry

Sentry plugin for CakePHP

12317.3k](/packages/lordsimal-cakephp-sentry)[twineis/raven-php

Sentry (Raven) error monitoring for Laravel and Lumen with send in background via queues

1018.1k](/packages/twineis-raven-php)[itgalaxy/sentry-integration

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry

105.6k](/packages/itgalaxy-sentry-integration)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
