nails / module-housekeeping
A generic orchestrator for cleanup and housekeeping routines in Nails applications
dev-develop
2026-09-15 11:08 UTC
Requires
- php: >=8.3
- nails/common: dev-develop
- nails/module-console: dev-develop
- nails/module-cron: dev-develop
Requires (Dev)
- nails/module-admin: dev-develop
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-15 12:04:11 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 removal is written to housekeeping-YYYY-MM-DD.php.
See the documentation for the authoring API, official traits, and console commands.