Search by

lekoala / kaly-contracts

lekoala

Stable interfaces shared by Kaly and its packages: task dispatching

Package info

github.com/lekoala/kaly-contracts

pkg:composer/lekoala/kaly-contracts

Statistics

Installs: 67

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-11-14 15:08 UTC

This package is auto-updated.

Last update: 2026-11-14 15:17:33 UTC


README

Stable interfaces shared by Kaly and its packages, so that a package can implement them without depending on Kaly.

Interface Role
Kaly\Task\TaskDispatcher Submits an invocable task under the guarantees of the implementation
Kaly\Task\ScheduledTaskDispatcher Adds an absolute lower bound on execution (?DateTimeImmutable $notBefore)

The namespace is Kaly\Task, as it was inside Kaly: applications change no import and no binding.

This package depends on PHP only. It conflicts with lekoala/kaly below 0.7, which still ships these interfaces itself.

Stability

The interfaces are frozen at 1.0. Adding a method to an interface would break every implementation: a new capability comes as a separate interface, or in a major version.

License

MIT