Search by

adachsoft / reminder

Arkadiusz Adach

Framework-independent reminder lifecycle and notification scheduling for PHP applications.

Package info

gitlab.com/a.adach/reminder

Issues

pkg:composer/adachsoft/reminder

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

v0.1.0 2026-11-24 12:42 UTC

This package is auto-updated.

Last update: 2026-11-24 11:42:17 UTC


README

adachsoft/reminder is a framework-independent PHP library for managing recurring reminders addressed to people, accounts, or groups. It provides reminder lifecycle operations, access policies, acknowledgement tracking, and integration points for scheduled notifications.

Features

  • Create, update, enable, disable, and delete reminders.
  • Use recurrence rules and optional repeat-until-acknowledged policies.
  • Resolve recipient groups and avoid notifying recipients who have acknowledged an occurrence.
  • Synchronize reminder schedules and clean up related schedules when reminders are deleted.
  • Integrate through repository, principal, notification, scheduling, and clock contracts.

Requirements and installation

Requires PHP 8.3 or newer and Composer.

composer require adachsoft/reminder

The library depends on contracts; applications provide persistent repository adapters and implementations of principal resolution, notifications, scheduling, and Psr\Clock\ClockInterface. For the AdachSoft automation, action, recurrence, and notification implementations, install their packages in your application:

composer require adachsoft/automation adachsoft/action adachsoft/recurrence adachsoft/notification

Usage

Use ReminderServiceFactory::create() to construct the reminder service from your repository and infrastructure implementations. Use ReminderServiceFactory::createAutomationComponents() to connect reminder delivery to an automation schedule, action executor, and notification dispatcher. Invoke the automation tick from your application's worker. Keep the same repository instances and clock throughout the integration.

The detailed end-to-end example demonstrates setup, delivery, acknowledgement, repeat scheduling, and cleanup: