cino/laravel-chronos
cino/laravel-chronos is a lightweight Laravel package for working with time in your app—track temporal state, schedule recurring work, and query time-based records through a clean, Eloquent-friendly API that fits Laravel conventions.
Model, or already using another base class (tenant models, audited models, UUID/ULID bases), can now adopt without a class-hierarchy migration. This turns a "next new project only" decision into a "can be trialed on one existing service" decision.use statement per model — which lowers the perceived risk of the dependency in architecture review.Adopt when most of the following hold:
Look elsewhere or wait when:
To executives: This is a small, low-commitment library that replaces code we'd otherwise write and maintain ourselves for common model behavior. The v1.1.0 release adds an integration option that means we can adopt it without restructuring existing code, so the trial is a one-model change, not a migration project. Cost is a dependency; benefit is deleting a category of boilerplate we currently maintain in-house. Recommend a time-boxed pilot on a single bounded context, with a go/no-go on wider adoption after.
To engineering: v1.1.0 adds a trait as an alternative to extending the package's model class. This matters because it removes the inheritance constraint — we can use the trait on models that already extend our own base, and we can adopt per-model rather than globally. Before rollout we should: (1) confirm the trait path and the base-class path are behaviorally equivalent, (2) check the trait against our existing base model for method, property, and boot-hook collisions, (3) verify serialization and query behavior on a representative model, and (4) confirm the trait is compatible with our model event listeners and any global scopes. One caveat to factor in: the package is a single-maintainer dependency, so if we go wider than the pilot, we should pin versions and note the fallback (a local trait) in the ADR.
How can I help you explore Laravel packages today?