PHPackages                             marlonbasten/ohdear-croncheck-laravel - 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. marlonbasten/ohdear-croncheck-laravel

ActiveLibrary

marlonbasten/ohdear-croncheck-laravel
=====================================

Easily integrate cronjob checks from OhDear into your Laravel application.

v2.0.0(1y ago)291MITPHPPHP ^8.2

Since Jan 29Pushed 1y ago2 watchersCompare

[ Source](https://github.com/marlonbasten/ohdear-croncheck-laravel)[ Packagist](https://packagist.org/packages/marlonbasten/ohdear-croncheck-laravel)[ Docs](https://github.com/marlonbasten/ohdear-croncheck-laravel)[ RSS](/packages/marlonbasten-ohdear-croncheck-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Easily integrate cronjob monitoring from OhDear into your Laravel application.
==============================================================================

[](#easily-integrate-cronjob-monitoring-from-ohdear-into-your-laravel-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/806b8697801df0669eb8e5474dd4a0e923d32c8cea8a44b63f8110015f51ad24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61726c6f6e62617374656e2f6f68646561722d63726f6e636865636b2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marlonbasten/ohdear-croncheck-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/005078ea9242ff021378504c43613712afca01fe99c1e8a0a8e14847392aa62b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61726c6f6e62617374656e2f6f68646561722d63726f6e636865636b2d6c61726176656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/marlonbasten/ohdear-croncheck-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c692b97534b9394c53c3dc253fcf3971d6dabfea4a9e27bb85fa0aa366e65c86/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61726c6f6e62617374656e2f6f68646561722d63726f6e636865636b2d6c61726176656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/marlonbasten/ohdear-croncheck-laravel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/68316c7fa73af7c71481e7a1ca364c90c11e22b59e7d61a77a07a11cbd23f784/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61726c6f6e62617374656e2f6f68646561722d63726f6e636865636b2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marlonbasten/ohdear-croncheck-laravel)

Monitoring cronjobs with OhDear made easy! Just register your commands in a service provider.

```
public function boot(): void
{
    OhDearCron::register(TestCommand::class, 'id');
}
```

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

[](#installation)

You can install the package via composer:

```
composer require marlonbasten/ohdear-croncheck-laravel
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ohdear-croncheck-laravel-config"
```

This is the contents of the published config file:

```
return [
    // If false, cronjobs will always be sent to OhDear
    'only_in_prod' => true,
    // The ping URL for OhDear (https://ohdear.app/docs/features/cron-job-monitoring#php)
    'ohdear_url' => 'https://ping.ohdear.app',
];
```

Usage
-----

[](#usage)

Register the command you want to monitor with OhDear in any service provider using the Facade.

```
public function boot(): void
{
    \Marlonbasten\OhdearCroncheckLaravel\Facades\OhDearCron::register(TestCommand::class, 'id');
}
```

The `id` is the last part of your ping URL you get on OhDear.

[![img.png](img.png)](img.png)

**That's it!** Now every time the command runs, OhDear will receive a ping.
The package will also send the exit code and the runtime of the command to OhDear.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Marlon Basten](https://github.com/marlonbasten)
- [All contributors](../../contributors)

This package was inspired by [Freek Van der Herten](https://github.com/freekmurze)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~672 days

Total

2

Last Release

477d ago

Major Versions

v1.0.0 → v2.0.02024-12-02

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/53958d89092365ec306caada1084f78c7cc91417be1e8ecd42fd8cba2aa98fb0?d=identicon)[marlonbasten](/maintainers/marlonbasten)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![marlonbasten](https://avatars.githubusercontent.com/u/31259698?v=4)](https://github.com/marlonbasten "marlonbasten (1 commits)")

---

Tags

laravelmonitoringohdearlaravelmarlonbastenohdear-croncheck-laravel

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/marlonbasten-ohdear-croncheck-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/marlonbasten-ohdear-croncheck-laravel/health.svg)](https://phpackages.com/packages/marlonbasten-ohdear-croncheck-laravel)
```

###  Alternatives

[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13662.4k1](/packages/ralphjsmit-laravel-helpers)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

136.9k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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