Download the PHP package crontinel/php without Composer
On this page you can find all versions of the php package crontinel/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download crontinel/php
More information about crontinel/php
Files in crontinel/php
Package php
Short Description Framework-agnostic PHP core for Crontinel — data objects, monitor contracts, and alert management.
License MIT
Homepage https://crontinel.com
Informations about the package php
crontinel/php
Report cron and background job runs to Crontinel Cloud.
Framework-agnostic PHP core for Crontinel. Provides monitor contracts, typed data objects, alert management with deduplication, and cron expression helpers.
Quickstart
Get your API key at app.crontinel.com.
Requirements
If you use Laravel, install crontinel/laravel instead. It pulls in this package automatically and adds service providers, dashboard, Artisan commands, and event listeners.
Install crontinel/php directly when you are:
- Building an adapter for Symfony, Slim, or another framework
- Integrating Crontinel into a vanilla PHP application
- Writing a custom monitor that does not depend on Laravel
Requirements
- PHP 8.2, 8.3, or 8.4
- Composer
Compatibility
- Laravel 10, 11, and 12 — install
crontinel/laravelinstead, which wraps this package and adds Laravel-specific integration. - Horizon — this package reads the same Redis keys that Horizon uses. When you install
crontinel/laravel, theHorizonMonitorworks out of the box with no additional configuration. - Other frameworks — Symfony, Slim, and any PHP 8.2+ application can use the contracts and data objects directly.
Installation
What this package provides
Contracts
MonitorInterface-- implementisHealthy(): boolto create a custom monitorAlertChannelInterface-- implementsend(AlertEvent $event): voidto deliver alerts via any transport (Slack, email, webhook, etc.)
Data objects
Immutable, readonly value objects used across the stack:
AlertEvent-- key, title, message, level (critical/warning/info/resolved), fired timestampCronStatus-- command, expression, status, last run metadata, next due timeHorizonStatus-- Horizon supervisor stateQueueStatus-- queue depth, failed count, oldest job age
Alert management
AlertManager handles fire/resolve lifecycle with built-in deduplication. It accepts any PSR-16 cache and any AlertChannelInterface implementation:
- Deduplicates repeated alerts for the same key (default: 5 min TTL)
- Auto-sends "resolved" notifications when an issue clears
- Logs failures via PSR-3 logger (falls back to
NullLogger)
Cron expression helpers
CronExpressionHelper wraps dragonmantank/cron-expression with convenience methods:
nextDue(string $expression)-- next scheduled run asDateTimeImmutablepreviousDue(string $expression)-- last scheduled runisLate(DateTimeInterface $lastRunAt, string $expression, int $graceSeconds = 120)-- whether a job has missed its window
Built-in monitors
Ready-to-use monitor implementations (all implement MonitorInterface):
CronMonitor,HorizonMonitor,QueueMonitor
Usage example
Implement MonitorInterface to build a custom health check:
Wire up alert delivery by implementing AlertChannelInterface:
Then use AlertManager to fire and resolve alerts:
Using CronExpressionHelper
Using built-in monitors with AlertManager
Ecosystem
| Package | Description |
|---|---|
| crontinel/php (this repo) | Framework-agnostic PHP core |
| crontinel/laravel | Laravel package with dashboard, Artisan commands, and event listeners |
| crontinel/mcp-server | MCP server for AI assistants (Claude, Cursor) |
| docs.crontinel.com | Full documentation |
| app.crontinel.com | Hosted SaaS dashboard |
License
MIT. See LICENSE.
Built by Harun R Rayhan · crontinel.com
All versions of php with dependencies
psr/log Version ^3.0
psr/simple-cache Version ^3.0
dragonmantank/cron-expression Version ^3.3