PHPackages                             rich1888/disk-space-monitor - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rich1888/disk-space-monitor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rich1888/disk-space-monitor
===========================

Check the available disk space on the server, and alert when a threshold is met.

04PHP

Since Jul 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rich1888/disk-space-monitor)[ Packagist](https://packagist.org/packages/rich1888/disk-space-monitor)[ RSS](/packages/rich1888-disk-space-monitor/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Disk Space Monitor
==================

[](#disk-space-monitor)

Check the available disk space on the server, and alert when a threshold is met.

### Getting Started

[](#getting-started)

- Set env variable `DISK_USAGE_ALERT_EMAIL` to correct email address to receive email
- Set env variable `DISK_USAGE_ALERT_THRESHOLD` to be the threshold where alerts start. The default is 90, and will alert when 90% of disk space has been reached.
- Set env variable `DISK_USAGE_ALERT_DIRECTORY` to monitor specific directories on the server. Default is / and will monitor the whole instance.
- Set env variable `DISK_USAGE_ALERT_SCHEDULE` to change how often the process runs. Default is `0 * * * *` which runs on the hour. Use something like  to get the pattern for a new schedule.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![rich1888](https://avatars.githubusercontent.com/u/5458775?v=4)](https://github.com/rich1888 "rich1888 (5 commits)")

### Embed Badge

![Health badge](/badges/rich1888-disk-space-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/rich1888-disk-space-monitor/health.svg)](https://phpackages.com/packages/rich1888-disk-space-monitor)
```

###  Alternatives

[predaddy/predaddy

Common DDD classes and utilities

16826.5k1](/packages/predaddy-predaddy)[windinternet/randomdata

TYPO3 extensions to generate new random data or replace existing data with random data

141.4k](/packages/windinternet-randomdata)

PHPackages © 2026

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