Search by

adachsoft / automation

Arkadiusz Adach

Framework-independent PHP library for validating, scheduling, and executing ordered actions.

Package info

gitlab.com/a.adach/automation

Issues

pkg:composer/adachsoft/automation

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

v0.1.0 2026-11-22 16:52 UTC

This package is auto-updated.

Last update: 2026-11-22 15:52:48 UTC


README

adachsoft/automation is a framework-independent PHP library for managing recurring schedules that execute ordered actions. It provides schedule validation and lifecycle operations, a periodic tick with missed-run policies, at-most-once occurrence markers, optional locking, manual execution, stop conditions, and listeners.

Requirements

  • PHP 8.3 or later.
  • Implementations of schedule and runtime-state repositories, fired-occurrence storage, recurrence calculation, action execution and authorization, and a PSR-20 clock.

Installation

Install the package with Composer:

composer require adachsoft/automation

The AdachSoft action and recurrence packages provide optional implementations of their contracts. Applications may use other implementations instead.

Usage

Use AutomationFactory to create the schedule service, recurring tick, and manual runner. Call the tick from a worker or cron job at the desired cadence. Provide a shared implementation of ScheduleLockInterface when multiple workers can run concurrently.

See the integration example for a wiring outline.

License

MIT