cline/sequencer

Sequential migration and operation orchestration for Laravel

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/cline/sequencer

1.0.0 2025-11-23 09:47 UTC

This package is auto-updated.

Last update: 2025-11-23 09:52:18 UTC


README

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads

A powerful Laravel package that orchestrates sequential execution of migrations and operations. Ensures database changes and business logic run in chronological order during deployments, preventing conflicts and maintaining data integrity.

Requirements

Requires PHP 8.4+ and Laravel 11+

Installation

composer require cline/sequencer

Quick Start

Create an operation, implement the handle() method, and execute sequentially with php artisan sequencer:process. See Getting Started for detailed examples.

Documentation

Key Features

  • Orchestration Strategies - Sequential, batch, transactional, dependency-based, scheduled execution
  • Flexible Execution - Switch strategies via config or fluent API
  • Dependency Resolution - Explicit operation dependencies with topological sorting
  • Conditional Execution - Skip operations based on runtime conditions
  • Async Operations - Queue operations for background processing
  • Retry Mechanisms - Automatic retries with configurable backoff
  • Rollback Support - Automatic rollback of executed operations when failures occur
  • Encryption - Automatic payload encryption for sensitive operations
  • Lifecycle Hooks - Before/after/failed callbacks for operation execution
  • Monitoring - Pulse/Telescope integration with lifecycle events
  • Testing Helpers - Comprehensive testing support
  • Atomic Locking - Prevent concurrent execution in multi-server environments

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.