PHPackages                             downtime-desk/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. downtime-desk/laravel

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

downtime-desk/laravel
=====================

Report to Downtime Desk monitors directly from your Laravel app.

v2.0.0(2w ago)01↓100%PHPPHP &gt;=8.2CI passing

Since May 13Pushed 2w agoCompare

[ Source](https://github.com/Downtime-Desk/laravel)[ Packagist](https://packagist.org/packages/downtime-desk/laravel)[ RSS](/packages/downtime-desk-laravel/feed)WikiDiscussions main Synced 1w ago

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

Downtime Desk Laravel Integration
=================================

[](#downtime-desk-laravel-integration)

Quickly add Downtime Desk monitoring to your Laravel application.

Features
--------

[](#features)

- Automatic schedule registration
- Manual heartbeat dispatching
- Multiple named webhooks
- Automatic aggregation
- Queue support
- Scheduler macros
- Config-driven
- Zero-config onboarding

---

Installation
============

[](#installation)

```
composer require downtime-desk/laravel
```

Publish config:

```
php artisan vendor:publish --tag=downtime-desk-config
```

---

Usage
=====

[](#usage)

Default Webhook
---------------

[](#default-webhook)

Downtime Desk will automatically report for the default monitor when `report()` is called and no `$name` attribute is provided.

```
use DowntimeDesk\Laravel\Facades\DowntimeDesk;

DowntimeDesk::report();
```

---

Named Webhook
-------------

[](#named-webhook)

If you have multiple monitors configured in your application, then you can specify which monitor to report for by passing the name of the monitor to the `report()` method.

```
DowntimeDesk::report('database');
```

Immediate Reporting
-------------------

[](#immediate-reporting)

If for whatever reason you'd like to circumvent the schedule, or reporting aggregation, you can call `reportNow()` to report immediately.

`reportNow()` accepts the same arguments as `report()`.

```
DowntimeDesk::reportNow();
```

---

Direct Ping
-----------

[](#direct-ping)

```
DowntimeDesk::ping($id, $secret);
```

---

Disable Auto Scheduling
-----------------------

[](#disable-auto-scheduling)

This package automatically registers a schedule to report for the default monitor every minute. If you'd like to disable this, you can call `DowntimeDesk::withoutScheduling()`.

This is useful if you're using a custom scheduler implementation, or say you're running your application in a non-scheduled environment.

```
DowntimeDesk::withoutScheduling();
```

Without Aggregation
-------------------

[](#without-aggregation)

Aggregation is enabled by default, and makes use of the configured cache driver to process and flush reports.

You can disable aggregation by calling `DowntimeDesk::withoutAggregation()`.

```
DowntimeDesk::withoutAggregation();
```

Default Monitor Name
--------------------

[](#default-monitor-name)

You can change the default monitor name by calling `DowntimeDesk::defaultMonitor()` and passing the new default monitor name.

Remember you'll need to update the published `downtime-desk` configuration file to match the new name.

```
DowntimeDesk::defaultMonitor('example');
```

Batch Size Limit
----------------

[](#batch-size-limit)

If you're experiencing issues related to the default batch size, you can adjust it by calling `DowntimeDesk::limitBatchSizeTo()` and passing the desired batch size.

```
DowntimeDesk::limitBatchSizeTo(50);
```

Schedule Registration Callback
------------------------------

[](#schedule-registration-callback)

You can customize the schedule registration callback by calling `DowntimeDesk::registerScheduleWith()` and passing a callable that accepts a `Schedule` instance and a monitor name.

*Note:* Calling `DowntimeDesk::withoutScheduling()` will disable the schedule registration callback.

Below is the default callback as a starting point:

```
function ($schedule, $name) {
    return $schedule->job(new DispatchHeartbeat($name))->everyMinute();
}
```

```
DowntimeDesk::registerScheduleWith($callable);
```

Cache Key Name
--------------

[](#cache-key-name)

If you're experiencing issues related to the default cache key name, you can change it by calling `DowntimeDesk::useCacheKeyName()` and passing the new cache key name.

```
DowntimeDesk::useCacheKeyName();
```

---

Manual Scheduler
----------------

[](#manual-scheduler)

```
use Illuminate\Support\Facades\Schedule;

Schedule::downtimeDesk('default')
    ->everyMinute();
```

---

Testing
=======

[](#testing)

```
./vendor/bin/phpunit
```

or

```
composer test
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance96

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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 ~6 days

Total

2

Last Release

20d ago

Major Versions

v1.0.0 → v2.0.02026-05-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/494de8188ad97403b72e40e385235a74ef6331aa2710b3727193f646189af9fc?d=identicon)[mykemeynell](/maintainers/mykemeynell)

---

Top Contributors

[![mykemeynell](https://avatars.githubusercontent.com/u/1590190?v=4)](https://github.com/mykemeynell "mykemeynell (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/downtime-desk-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/downtime-desk-laravel/health.svg)](https://phpackages.com/packages/downtime-desk-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)

PHPackages © 2026

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