PHPackages                             hellomayaagency/laravel-heartbeat - 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. hellomayaagency/laravel-heartbeat

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

hellomayaagency/laravel-heartbeat
=================================

Monitor Laravel queue and schedule status

v1.0.3(5y ago)2551[1 issues](https://github.com/hellomayaagency/laravel-heartbeat/issues)MITPHPPHP ^7.0|^8.0

Since Jul 20Pushed 3y ago6 watchersCompare

[ Source](https://github.com/hellomayaagency/laravel-heartbeat)[ Packagist](https://packagist.org/packages/hellomayaagency/laravel-heartbeat)[ Docs](https://github.com/hellomayaagency/laravel-heartbeat)[ RSS](/packages/hellomayaagency-laravel-heartbeat/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Monitor Laravel Queue and Schedule
==================================

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

This package runs a queued job and a scheduled command once every 5 minutes and a route to check that this has happened successfully.

This route will return a 200 or a 503 HTTP status which is useful for monitoring software such as StatusCake.

Limitations
-----------

[](#limitations)

This package relies on the database queue driver being used.

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

[](#installation)

Install the package via composer:

```
composer require hellomayaagency/laravel-heartbeat
```

Enable the scheduled heartbeat command:

```
// app/Console/Kernel.php

protected function schedule(Schedule $schedule)
{
    // ...

    // Note: don't change the interval!
    $schedule->command('heartbeat')->everyFiveMinutes();
}
```

Run the heartbeat command:

```
php artisan heartbeat
```

Add a route to the heartbeat status page:

```
// routes/web.php
Route::get('heartbeat', '\Maya\LaravelHeartbeat\Http\Controllers\HeartbeatController@index');

// or

Route::get('heartbeat', [HeartbeatController::class, 'index');
```

Usage
-----

[](#usage)

Navigate to the route you created above, e.g. `example.com/heartbeat`. You should see a status page.

The status page will return a 200 status page if everything is working as expected.

If problems are found with the schedule or queue a 503 status will be returned instead.

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jake Gully](https://github.com/hellomayaagency)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

4

Last Release

1839d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75e4fb775240c664dc86f0a317fcb0fccb4ed9efcce7601c7dc25360e018717b?d=identicon)[studiomaya](/maintainers/studiomaya)

---

Tags

laravelmonitoringMayaqueuescheduleheartbeat

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2362.2M5](/packages/inspector-apm-inspector-laravel)[anousss007/vigilance

A driver-agnostic control center for Laravel queues, jobs, commands and the scheduler. Monitor what ran (with parameters), see failures, and dispatch jobs or run artisan commands manually from a self-contained dashboard.

1939.9k](/packages/anousss007-vigilance)[spatie/laravel-flare

Send Laravel errors to Flare

131.6M8](/packages/spatie-laravel-flare)[romalytar/yammi-jobs-monitoring-laravel

Queue monitoring and observability for Laravel. Tracks job lifecycle, retries, failures and a dead-letter queue across all queue drivers (Redis, SQS, database, sync), with failure fingerprinting, scheduled-task monitoring, worker heartbeats, duration-anomaly detection and alerts (Slack, mail, PagerDuty, Opsgenie, webhook).

261.3k](/packages/romalytar-yammi-jobs-monitoring-laravel)

PHPackages © 2026

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