PHPackages                             spatie/cpu-load-health-check - 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. spatie/cpu-load-health-check

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

spatie/cpu-load-health-check
============================

A Laravel Health check to monitor CPU load

1.0.5(6mo ago)692.4M—6.4%8[1 PRs](https://github.com/spatie/cpu-load-health-check/pulls)6MITPHPPHP ^8.0CI passing

Since Dec 13Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/spatie/cpu-load-health-check)[ Packagist](https://packagist.org/packages/spatie/cpu-load-health-check)[ Docs](https://github.com/spatie/cpu-load-health-check)[ GitHub Sponsors](https://github.com/spatie)[ RSS](/packages/spatie-cpu-load-health-check/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (9)Versions (9)Used By (6)

A Laravel Health check to monitor CPU load
==========================================

[](#a-laravel-health-check-to-monitor-cpu-load)

[![Latest Version on Packagist](https://camo.githubusercontent.com/32e6c7ad476d4bbc60a091aa7ee84cb3c6ad0d52c5e3ad7f4750d6744455a5db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6370752d6c6f61642d6865616c74682d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/cpu-load-health-check)[![run-tests](https://github.com/spatie/cpu-load-health-check/actions/workflows/run-tests.yml/badge.svg)](https://github.com/spatie/cpu-load-health-check/actions/workflows/run-tests.yml)[![PHPStan](https://github.com/spatie/cpu-load-health-check/actions/workflows/phpstan.yml/badge.svg)](https://github.com/spatie/cpu-load-health-check/actions/workflows/phpstan.yml)[![Total Downloads](https://camo.githubusercontent.com/d964cee9eec82e6095c009d19430874e321ccaf2c9dc5b4183319103a9b8dbf3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6370752d6c6f61642d6865616c74682d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/cpu-load-health-check)

This package contains a [Laravel Health](https://spatie.be/docs/laravel-health) check that can measure CPU load. It can send you a notification when CPU load is too high.

```
// typically, in a service provider

use Spatie\Health\Facades\Health;
use Spatie\CpuLoadHealthCheck\CpuLoadCheck;

Health::checks([
    CpuLoadCheck::new()->failWhenLoadIsHigherInTheLast5Minutes(1.2),
]);
```

Documentation
-------------

[](#documentation)

The documentation of this package is available [inside the docs of Laravel Health](https://spatie.be/docs/laravel-health/v1/available-checks/cpu-load).

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/90a43cd070074bdeec902cbe751332140089190c7c8feec95ebde3657d411448/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6370752d6c6f61642d6865616c74682d636865636b2e6a70673f743d31)](https://spatie.be/github-ad-click/cpu-load-health-check)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance80

Actively maintained with recent releases

Popularity55

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~357 days

Total

6

Last Release

188d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7535935?v=4)[Spatie](/maintainers/spatie)[@spatie](https://github.com/spatie)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (48 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (34 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (26 commits)")[![kudashevs](https://avatars.githubusercontent.com/u/15892462?v=4)](https://github.com/kudashevs "kudashevs (7 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (4 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (2 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (2 commits)")[![clementmas](https://avatars.githubusercontent.com/u/8032241?v=4)](https://github.com/clementmas "clementmas (1 commits)")[![leslieeilsel](https://avatars.githubusercontent.com/u/25165449?v=4)](https://github.com/leslieeilsel "leslieeilsel (1 commits)")[![ziming](https://avatars.githubusercontent.com/u/679513?v=4)](https://github.com/ziming "ziming (1 commits)")

---

Tags

cpuhealthlaravelloadmonitoringspatielaravelcpu-load-health-check

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/spatie-cpu-load-health-check/health.svg)

```
[![Health](https://phpackages.com/badges/spatie-cpu-load-health-check/health.svg)](https://phpackages.com/packages/spatie-cpu-load-health-check)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[spatie/laravel-slack-alerts

Send a message to Slack

3212.6M4](/packages/spatie-laravel-slack-alerts)[spatie/laravel-error-share

Share your Laravel errors to Flare

43965.6k3](/packages/spatie-laravel-error-share)[muhammadsadeeq/laravel-activitylog-ui

A beautiful, modern UI for Spatie's Activity Log with advanced filtering, analytics, and real-time features.

17510.1k](/packages/muhammadsadeeq-laravel-activitylog-ui)[noxoua/filament-activity-log

A Laravel package that simplifies activity logging in the Filament admin panel, with support for logging create, update, delete, and restore actions. It integrates with the 'spatie/laravel-activitylog' package and includes a modernized activity log viewing page.

7151.5k](/packages/noxoua-filament-activity-log)

PHPackages © 2026

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