PHPackages                             daun/laravel-uptime-ping - 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. daun/laravel-uptime-ping

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

daun/laravel-uptime-ping
========================

Ping an endpoint regularly to monitor uptime and system status.

1.2.0(1y ago)0277MITPHPPHP ^8.1CI passing

Since Nov 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/daun/laravel-uptime-ping)[ Packagist](https://packagist.org/packages/daun/laravel-uptime-ping)[ Docs](https://github.com/daun/laravel-uptime-ping)[ RSS](/packages/daun-laravel-uptime-ping/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (0)

📡 Laravel Uptime Ping
=====================

[](#-laravel-uptime-ping)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fc1f264cef27dc6ba443bc71f40807f564f74423360c956897d74d086578096c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461756e2f6c61726176656c2d757074696d652d70696e672e737667)](https://packagist.org/packages/daun/laravel-uptime-ping)[![Test Status](https://camo.githubusercontent.com/70bce0227a571cf2c313099a8049302310be253fb19579e949c49032234334dc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6461756e2f6c61726176656c2d757074696d652d70696e672f63692e796d6c3f6c6162656c3d7465737473)](https://github.com/daun/laravel-uptime-ping/actions/workflows/ci.yml)[![Code Coverage](https://camo.githubusercontent.com/4b5d3f63c27e194e89a1c8efde396ea6a50f340024ea0b9582f8882f678a2484/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6461756e2f6c61726176656c2d757074696d652d70696e67)](https://app.codecov.io/gh/daun/laravel-uptime-ping)[![License](https://camo.githubusercontent.com/417a15921d369b32a04b556ce97a6980b0819d0d4725cea132869b92220f4a64/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461756e2f6c61726176656c2d757074696d652d70696e672e737667)](https://github.com/daun/laravel-uptime-ping/blob/master/LICENSE)

A **dead man's switch** for Laravel apps that **regularly pings an endpoint** to confirm the site is up and its task scheduler is processing important jobs, such as backups and notifications. A missed ping indicates issues with the job queue.

Useful with health monitors like [Uptime Kuma](https://uptime.kuma.pet/).

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

[](#installation)

Install the package via composer:

```
composer require daun/laravel-uptime-ping
```

How it works
------------

[](#how-it-works)

An **uptime ping sent from within the job queue** is the most reliable method for detecting a broken job queue. While your site may be running, a misconfigured cron job might prevent your backups and notifications from being processed. A standard health check wouldn't necessarily identify this issue.

The package will send a GET request to your configured endpoint every minute. This way, you'll know immediately if the site goes down or the job queue stops processing items.

Basic setup
-----------

[](#basic-setup)

Define the URL to ping in your `.env` file. For more customization, see below.

```
UPTIME_PING_URL="https://uptime.kuma.instance/api/push/xxxxxxxxxx?status=up&msg=OK&ping="
```

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

[](#configuration)

To change the frequency of pings, request method, timeout, number of retries, or add custom headers, publish and adjust the config file by running `php artisan vendor:publish --tag=uptime-ping-config`. Adjust any settings in `config/uptime-ping.php`.

```
return [

    /*
    | The URL to ping. If this is not set, the job will not run.
    */

    'url' => env('UPTIME_PING_URL', null),

    /*
    | The frequency at which to ping the URL, in crontab syntax. @see https://crontab.guru for help
    */

    'cron' => env('UPTIME_PING_CRON', '* * * * *'),

    /*
    | The HTTP method to use when pinging the URL.
    */

    'method' => env('UPTIME_PING_METHOD', 'GET'),

    /*
    | The number of retries to attempt before failing.
    */

    'retries' => 3,

    /*
    | The timeout in seconds before failing.
    */

    'timeout' => 3,

    /*
    | Additional headers to send with the request.
    */

    'headers' => [
        // 'User-Agent' => 'Laravel Uptime Ping',
    ],

];
```

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance45

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31ac2b3787ded290b6bac87b937abf4f267483e4da64731bfb256a942bb669ca?d=identicon)[daun](/maintainers/daun)

---

Top Contributors

[![daun](https://avatars.githubusercontent.com/u/22225348?v=4)](https://github.com/daun "daun (32 commits)")

---

Tags

laravelschedulehealth checkuptime-monitoringuptime-pingdead-mans-switch

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/daun-laravel-uptime-ping/health.svg)

```
[![Health](https://phpackages.com/badges/daun-laravel-uptime-ping/health.svg)](https://phpackages.com/packages/daun-laravel-uptime-ping)
```

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[tobiasdierich/gauge

An easy to use application performance monitor.

14413.1k](/packages/tobiasdierich-gauge)

PHPackages © 2026

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