Download the PHP package zachiler/laravel-cadence without Composer

On this page you can find all versions of the php package zachiler/laravel-cadence. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-cadence

Laravel Cadence

Run your Laravel application in accelerated time.

Tests PHP Version Laravel Version

What It Does

Install the package, implement a tick handler, and run cadence:run. Your Eloquent models, queued jobs, and scheduled commands all operate against simulated time — hours pass in seconds. Observe your application behaving as if days or weeks have elapsed, all from a single Artisan command.

Quick Start

Register your scenario in config/cadence.php:

See Getting Started for the full walkthrough.

Configuration

How Time Works

Cadence uses Carbon's setTestNow() to shift all time-dependent code. During a simulation:

You do not need to call any special clock function in your application code. Standard Laravel time functions work as expected — the simulation makes them return simulated time instead of real time.

The Clock class (Cadence\Clock\Clock) is used internally by the runner. You can use Clock::now() or just now() — they return the same value during simulation.

Feature Highlights

Tick Scheduling DSL

Avoid time-checking boilerplate. The DSL handles interval tracking and day/time filtering:

Full reference

Handler Dependencies

Declare execution order through dependencies — the runner topologically sorts handlers before the first tick:

Full reference

Invariants & Breakpoints

Define conditions checked after every tick. Invariants assert correctness; breakpoints pause for inspection:

Full reference

Time-Series Metrics

Record named metrics from handlers for post-run analysis:

Full reference

Speed Schedules

Define multi-phase speed profiles for a single run:

Full reference

Tick Middleware

Wrap the entire tick cycle with before/after logic:

Full reference

Simulation Report

An automatic end-of-run summary with handler performance, event counts, and telemetry:

Full reference

And More...

Documentation

Topic Description
Getting Started Installation, first handler, first run
Handlers TickHandler, BaseHandler, config, logging, TickContext API
Scenarios Scenario interface, parameters, registration
Tick Scheduling The DSL: every(), businessHours(), weekdays(), between(), on()
Running Simulations CLI options, presets, controlling, monitoring
Handler Dependencies Dependency declarations, topological sort, exceptions
Invariants & Breakpoints Assertions, pause/throw/log behaviors, breakpoints
Middleware Tick middleware, before/after pattern, short-circuiting
Telemetry & Metrics Handler performance, time-series metrics, MetricQuery
Speed Control Speed schedules, adaptive speed, quiet period skipping
Snapshots Taking, restoring, metadata hooks, auto-checkpoints
Simulation Lifecycle Warm-up, tagging, dry-run, reproducibility, report
Handler Communication TickBag, config hot-reload
Event Logging Writing, querying, exporting, streaming, CadenceEventType
Eloquent Scopes Clock-aware createdSince, updatedSince, between scopes
Database Drivers MySQL/PG vs SQLite, cache driver selection
Testing TickContext::factory(), handler testing patterns

Requirements

Database Drivers

MySQL and PostgreSQL are recommended. SQLite works for quick local tests but causes lock contention under real simulation loads. See Database Drivers for configuration details and workarounds.

Safety

About

Laravel Cadence was co-authored by Zac Hiler and Claude. Learn more about the journey of building Laravel Cadence at zachiler.dev/projects/laravel-cadence.

License

MIT. See LICENSE.


All versions of laravel-cadence with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^12.0
illuminate/console Version ^12.0
illuminate/contracts Version ^12.0
illuminate/cache Version ^12.0
illuminate/queue Version ^12.0
nesbot/carbon Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zachiler/laravel-cadence contains the following files

Loading the files please wait ...