DirectoryTree

Model-based scheduling for Laravel

43
0
100% credibility
Found May 17, 2026 at 43 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PHP
AI Summary

Cadence is a scheduling package for Laravel applications that lets developers attach time-based schedules to their data models. Instead of setting up one-off cron jobs, you can attach multiple schedules directly to any model - like scheduling reports to generate every Monday, invoices to send on the 15th of each month, or notifications to go out on specific days. The package supports both simple timing patterns (like 'every day at noon') and complex recurrence rules (like calendar-based repeating patterns). When schedules become due, the package automatically triggers events that your app can respond to, making it easy to automate recurring tasks without writing manual scheduling logic.

How It Works

1
πŸ” You discover Cadence

You find a tool that lets your app automatically do things on a schedule, tied to your data models.

2
πŸ”Œ You connect it to your models

You add a simple feature to any model in your app, and now it can have schedules attached to it.

3
πŸ“… You create your schedules

You set up schedules like 'every Monday at 9am' or 'the 15th of every month' - whatever timing you need.

4
You choose your timing style
⏰
Simple timing

Use straightforward patterns like 'every day at noon' or 'every 15 minutes'

πŸ”„
Complex patterns

Use powerful recurrence rules for things like 'every weekday except holidays' or 'the first Monday of each quarter'

5
βš™οΈ You turn on the automatic runner

You connect it to run automatically in the background, checking every minute for what needs to happen.

6
🎯 Your app springs to life

When the right moment arrives, your scheduled tasks run automatically and your app responds.

πŸŽ‰ Everything runs like clockwork

Your models do exactly what you scheduled, exactly when you scheduled it - automatically, without any manual effort.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 43 to 43 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is Cadence?

Cadence is a scheduling layer for Laravel that lets you attach time-based triggers directly to your Eloquent models. Instead of configuring one-off cron jobs in your console kernel, you attach schedules to any model and Cadence handles the rest. It supports both traditional cron expressions and RFC-compliant RRULE patterns for complex recurrence. When a schedule fires, it dispatches a typed event with a reference back to the parent model, so your listeners know exactly what to act on.

Why is it gaining traction?

The polymorphic design is the hook. You can schedule a Report, a User, a Subscription, or any model the same way. Multiple schedules per model, timezone-aware, with precomputed `next_run_at` timestamps that keep your queries fast. It uses Laravel's native event system, so scheduling logic stays decoupled from your business code. The driver architecture lets you swap scheduling backends without changing your models.

Who should use this?

Backend Laravel developers building SaaS or multi-tenant apps where each user or entity needs its own schedule. If you've ever struggled with cron's one-size-fits-all approach for complex recurrence patterns, this softens that edge. Not for simple "run this command every hour" use casesβ€”Laravel's native scheduler handles that fine. But if your scheduling is model-bound and needs timezone support or RRULE, this fills a gap.

Verdict

Cadence solves a real problem elegantly, but the 1.0% credibility score and 43 stars tell the story: it's early and unproven. The PHP 8.2+ and Laravel 11+ requirements mean it's cutting-edge only. Docs look solid and the driver abstraction is clean, but test coverage and community traction are unknowns. Worth piloting on a non-critical feature, but don't bet production on it without watching the repo for a few months.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.