Download the PHP package kapersoft/cron-job-api-for-laravel without Composer
On this page you can find all versions of the php package kapersoft/cron-job-api-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cron-job-api-for-laravel
cron-job-api-for-laravel
First-class Laravel 12+ wrapper around the cron-job.org v1 API using kapersoft/cron-job-api under the hood.
What is this repo?
This is kapersoft/cron-job-api-for-laravel, a lightweight wrapper for Laravel that exposes 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
- Laravel ^12.0
Configuration
You can use environment variables without publishing config:
Or publish the config file if you prefer a file under config/:
This writes config/cron-job-api-for-laravel.php with keys api_key and base_url.
Usage
You can resolve the client from the container or use the Facade.
Controller/job example (dependency injection):
Using the Facade:
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:
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.