PHPackages                             fusonic/sentry-cron - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fusonic/sentry-cron

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fusonic/sentry-cron
===================

Automatic Sentry Cron check-ins with Symfony Scheduler

0.0.2(5mo ago)02.1k↓32.7%MITPHPPHP &gt;=8.2

Since Sep 1Pushed 5mo agoCompare

[ Source](https://github.com/fusonic/php-sentry-cron)[ Packagist](https://packagist.org/packages/fusonic/sentry-cron)[ RSS](/packages/fusonic-sentry-cron/feed)WikiDiscussions main Synced 1mo ago

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

sentry-cron
===========

[](#sentry-cron)

[![License](https://camo.githubusercontent.com/3c5755d7734524e30c941102428274a9f18ec722e72117fd2b577f7c35633907/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6675736f6e69632f73656e7472792d63726f6e3f636f6c6f723d626c7565)](https://github.com/fusonic/php-sentry-cron/blob/master/LICENSE)[![Latest Version](https://camo.githubusercontent.com/3915fa01fc9173ef1480a382a80451a3d6e2696271b07d788fb01d78a103605b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6675736f6e69632f7068702d73656e7472792d63726f6e2e7376673f636f6c6f723d626c7565)](https://github.com/fusonic/php-sentry-cron/releases)[![Total Downloads](https://camo.githubusercontent.com/c7631c430bd0c8dd71f586461bd9e5d725a688453ac97f4d3e96b915f6cf0c5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6675736f6e69632f73656e7472792d63726f6e2e7376673f636f6c6f723d626c7565)](https://packagist.org/packages/fusonic/sentry-cron)[![php 8.2+](https://camo.githubusercontent.com/2acc9abf8a0687f1ee2c8f864ea70eb248731b91e8878d481f733ed115157ad1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d6d696e253230382e322d626c75652e737667)](https://github.com/fusonic/php-sentry-cron/blob/master/composer.json)

- [About](#about)
- [Install](#install)
- [Usage](#usage)

About
-----

[](#about)

Automatically register scheduled events from Symfony Scheduler in Sentry Cron. Only cron expressions are supported.

Install
-------

[](#install)

Use composer to install the library from packagist.

```
composer require fusonic/sentry-cron
```

Configuration
-------------

[](#configuration)

```
Fusonic\SentryCron\SentrySchedulerEventSubscriber:
    arguments:
        $enabled: true
```

Usage
-----

[](#usage)

Any regular event that is triggered with a cron expression can be used.

### Event Configuration

[](#event-configuration)

By default, the Sentry defaults are used for monitor configurations. Per event, you can configure an attribute to use your own configuration:

```
use Fusonic\SentryCron\SentryMonitorConfig;

#[SentryMonitorConfig(checkinMargin: 30, maxRuntime: 30, failureIssueThreshold: 5, recoveryThreshold: 5)]
class SomeEvent {
    // ...
}
```

### Async Events

[](#async-events)

If you have an unpredictable longer-running scheduled task, you can manually check in by implementing `AsyncCheckInScheduleEventInterface`.

The scheduled event:

```
use Fusonic\SentryCron\SentryMonitorConfig;
use Fusonic\SentryCron\AsyncCheckInScheduleEventInterface;
use \Fusonic\SentryCron\AsyncCheckInScheduleEventTrait;

class SomeEvent implements AsyncCheckInScheduleEventInterface {
    use AsyncCheckInScheduleEventTrait;

    // ...
}
```

The manual check in:

```
class SomeEventHandler {
    private const BATCH_SIZE = 100;

    public function __invoke(SomeEvent $event): void {
        $offset = 0;

        // e.g.: some slow database processing
        $entitiesToProcess = // ...

        $nextEvent = new SomeEvent(offset: $offset + self::BATCH_SIZE);

        if (count($entitiesToProcess) === 0) {
            $nextEvent->markAsLast();
        }

        $this->eventBus->dispatch($nextEvent);
    }

}
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance71

Regular maintenance activity

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~26 days

Total

2

Last Release

166d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/229567?v=4)[Matthias Burtscher](/maintainers/mburtscher)[@mburtscher](https://github.com/mburtscher)

![](https://avatars.githubusercontent.com/u/338856?v=4)[David Roth](/maintainers/davidroth)[@davidroth](https://github.com/davidroth)

![](https://avatars.githubusercontent.com/u/3588470?v=4)[Arjan Frans](/maintainers/arjanfrans)[@arjanfrans](https://github.com/arjanfrans)

![](https://avatars.githubusercontent.com/u/1465587?v=4)[Michael Zangerle](/maintainers/michaelzangerle)[@michaelzangerle](https://github.com/michaelzangerle)

![](https://www.gravatar.com/avatar/a4d72428e6647bf401af2690325b8e05b293ac6c7844babf800b42a86c0a9ce7?d=identicon)[DominicLuidold](/maintainers/DominicLuidold)

---

Top Contributors

[![arjanfrans](https://avatars.githubusercontent.com/u/3588470?v=4)](https://github.com/arjanfrans "arjanfrans (1 commits)")[![DominicLuidold](https://avatars.githubusercontent.com/u/22751730?v=4)](https://github.com/DominicLuidold "DominicLuidold (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fusonic-sentry-cron/health.svg)

```
[![Health](https://phpackages.com/badges/fusonic-sentry-cron/health.svg)](https://phpackages.com/packages/fusonic-sentry-cron)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)

PHPackages © 2026

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