Search by

nails / module-housekeeping

hellopablo

A generic orchestrator for cleanup and housekeeping routines in Nails applications

Package info

github.com/nails/module-housekeeping

Homepage

pkg:composer/nails/module-housekeeping

Statistics

Installs: 1 980

Dependents: 10

Suggesters: 0

Stars: 0

Open Issues: 0

dev-develop 2026-10-13 10:19 UTC

README

A generic orchestrator for cleanup routines in Nails applications.

Modules and apps define routines by implementing Nails\Housekeeping\Interfaces\Routine (normally by extending Nails\Housekeeping\Routine\Base) under src/Housekeeping/. Routines are discovered automatically, scheduled via a single housekeeping:run cron task, and every action is written to housekeeping-YYYY-MM-DD.php. A minute with nothing due produces no console output. The cron task does not copy a successful run into the cron log; a non-zero exit still is.

See the documentation for the authoring API, official traits, and console commands.