PHPackages                             prevplan/laravel-heartbeat-status - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. prevplan/laravel-heartbeat-status

AbandonedArchivedLibrary[Queues &amp; Workers](/categories/queues)

prevplan/laravel-heartbeat-status
=================================

Monitor Laravel queue and schedule status

v1.0.1(3y ago)111.5k[1 issues](https://github.com/prevplan/laravel-heartbeat-status/issues)[21 PRs](https://github.com/prevplan/laravel-heartbeat-status/pulls)MITPHPPHP ^8.1

Since Feb 7Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/prevplan/laravel-heartbeat-status)[ Packagist](https://packagist.org/packages/prevplan/laravel-heartbeat-status)[ Docs](https://github.com/prevplan/laravel-heartbeat-status)[ RSS](/packages/prevplan-laravel-heartbeat-status/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (13)Versions (25)Used By (0)

Monitor Laravel queue and schedule status
=========================================

[](#monitor-laravel-queue-and-schedule-status)

[![Latest Version on Packagist](https://camo.githubusercontent.com/90c1fbfe10d5070c7f255127395596a03f4e5092f94c04239b457222b89ed068/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726576706c616e2f6c61726176656c2d6865617274626561742d7374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prevplan/laravel-heartbeat-status)[![GitHub Tests Action Status](https://camo.githubusercontent.com/2aed26b3e925aca0e57b152dcbb9ab533e072eca4164bee6e8319202fb53dc11/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70726576706c616e2f6c61726176656c2d6865617274626561742d7374617475732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/prevplan/laravel-heartbeat-status/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/075525fc36ca14c3506506bfd92946aa49700ac1da8bd8bde52433c93dcc6d2d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70726576706c616e2f6c61726176656c2d6865617274626561742d7374617475732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/prevplan/laravel-heartbeat-status/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b3da96fbdd79924909725e11795bbd1dc8e63abf538fbf9d3e6c3eb78dd3eed5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726576706c616e2f6c61726176656c2d6865617274626561742d7374617475732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/prevplan/laravel-heartbeat-status)

A simple package to monitor the queue heartbeat and the schedule of a Laravel Site.
It provides a route with a status and a 200 or 503 HTTP state that can be monitored by uptime services such as [upptime](https://github.com/upptime/upptime).

Tested with Laravel 9 + 10.

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

[](#installation)

You can install the package via composer:

```
composer require prevplan/laravel-heartbeat-status
```

The standard URL is `yoursite.com/heartbeat`. If you want to change this, add

```
Route::heartbeat_status('new-folder');
```

to your `routes/web.php`.

You can optionally publish the config file with:

```
php artisan vendor:publish --tag="laravel-heartbeat-status-config"
```

This is the contents of the published config file:

```
return [
    /*
    |--------------------------------------------------------------------------
    | Heartbeat Interval Time
    |--------------------------------------------------------------------------
    |
    | Time in minutes between queued heartbeatStatusCommand jobs.
    |
    */
    'heart-rate' => env('HEARTBEAT_HEART_RATE', 2),

    /*
    |--------------------------------------------------------------------------
    | Heartbeat Emergency Time
    |--------------------------------------------------------------------------
    |
    | Time in minutes to report failure/change to status 503, if the
    | last heartbeatStatusCommand is older than this value
    |
    */
    'emergency_time' => env('HEARTBEAT_EMERGENCY', 5),

    /*
    |--------------------------------------------------------------------------
    | Schedule Leeway
    |--------------------------------------------------------------------------
    |
    | Time for schedule running tolerance in seconds
    |
    */
    'schedule_leeway' => env('HEARTBEAT_SCHEDULE_LEEWAY', 10),

    /*
    |--------------------------------------------------------------------------
    | Queue Leeway
    |--------------------------------------------------------------------------
    |
    | Time for queue running tolerance in seconds
    |
    */
    'queue_leeway' => env('HEARTBEAT_QUEUE_LEEWAY', 20),
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-heartbeat-status-views"
```

Usage
-----

[](#usage)

The status page is automatically published under yoursite.com/heartbeat or another URL if you’ve changed it.
It checks the last run of the schedule and the queue.

If everything works fine, it responds to a 200 HTTP state. If there is a problem a 503 HTTP state will be shown.
You can monitor this heartbeat page with upptime or another uptime service of your choice.

Testing
-------

[](#testing)

```
composer test
```

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)

- [Holger Schmermbeck](https://github.com/ruaq)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 58.9% 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 ~194 days

Total

3

Last Release

852d ago

### Community

Maintainers

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

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (66 commits)")[![ruaq](https://avatars.githubusercontent.com/u/25234289?v=4)](https://github.com/ruaq "ruaq (34 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (10 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (2 commits)")

---

Tags

laravelqueueschedulemonitorheartbeatprevplanlaravel-heartbeat-status

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/prevplan-laravel-heartbeat-status/health.svg)

```
[![Health](https://phpackages.com/badges/prevplan-laravel-heartbeat-status/health.svg)](https://phpackages.com/packages/prevplan-laravel-heartbeat-status)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

274325.8k8](/packages/croustibat-filament-jobs-monitor)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)

PHPackages © 2026

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