Download the PHP package kapersoft/cron-job-api without Composer
On this page you can find all versions of the php package kapersoft/cron-job-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kapersoft/cron-job-api
More information about kapersoft/cron-job-api
Files in kapersoft/cron-job-api
Package cron-job-api
Short Description A PHP client for the Cron-Job.org API
License MIT
Homepage https://github.com/kapersoft/cron-job-api
Informations about the package cron-job-api
cron-job-api (PHP client for cron-job.org)
Small, typed PHP 8.4+ client for the cron-job.org v1 API. No framework required; uses Guzzle under the hood.
What is this repo?
This is kapersoft/cron-job-api
, a lightweight wrapper around the public cron-job.org API, providing simple methods to list, create, update, delete, and inspect jobs and their history.
What is cron-job.org?
cron-job.org is a hosted scheduler. It executes HTTP(S) requests on schedules (minutes to months), great for pinging endpoints, running webhooks, and health checks without maintaining your own cron infrastructure.
Installation
Requirements:
- PHP ^8.4
- Guzzle ^7.10 (pulled in automatically)
How to use
Basic client setup and common operations. Replace $apiKey
with your cron-job.org API token.
List jobs:
Get one job (with full details):
Create a job:
Update a job (partial fields):
Delete a job:
List history and fetch a specific run:
Optionally provide a custom Guzzle client (timeouts, retries, proxy, etc.):
How to report issues
- Open an issue: GitHub Issues
- Please include minimal repro code, expected vs. actual behavior, and versions.
License information
This library is MIT licensed. See LICENSE.md.
Security information
Do not post vulnerabilities in public issues. See SECURITY.md.
How to contribute
Read CONTRIBUTING.md for setup, coding standards, and workflow. PRs with focused changes and tests are welcome.