An open API service providing repository metadata for many open source software ecosystems.

GitHub / laravel-workflow / laravel-workflow

Durable workflow engine that allows users to track job status, orchestrate microservices and write long running persistent distributed workflows in PHP powered by Laravel Queues. Inspired by Temporal and Azure Durable Functions.

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-workflow%2Flaravel-workflow
PURL: pkg:github/laravel-workflow/laravel-workflow

Stars: 1,086
Forks: 59
Open issues: 0

License: mit
Language: PHP
Size: 328 KB
Dependencies parsed at: Pending

Created at: over 3 years ago
Updated at: 24 days ago
Pushed at: 24 days ago
Last synced at: 24 days ago

Commit Stats

Commits: 190
Authors: 2
Mean commits per author: 95.0
Development Distribution Score: 0.084
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/laravel-workflow/laravel-workflow

Topics: background-jobs, bpm, bpmn, durable-functions, jobs, laravel, microservices, orchestration, php, queueing, status, workflow, workflow-engine, workflows

Funding Links https://github.com/sponsors/laravel-workflow

Releases
1.0.8

1.0.8

Ensures that child workflows use the correct middleware settings.

about 2 years ago
Download
1.0.7

1.0.7

Updates the migrations to use the same precision on all timestamps.

about 2 years ago
Download
1.0.6

1.0.6

ActivityStub::async() allows you to asynchronously run a set of activities in sequence.

$results = yield ActivityStub::async(fn () => [
    yield ActivityStub::make(Activity::class),
    yield ActivityStub::make(OtherActivity::class, 'other'),
]);
about 2 years ago
Download
1.0.5

1.0.5

🌟 Enhanced Model Serialization in Workflows and Activities

We’ve revamped the way you handle models within workflows and activities. Taking inspiration from Laravel’s SerializesModels trait, we’ve introduced a new mechanism to make your models more efficient and streamlined during serialization:

  • Smart Serialization: Now, instead of passing the entire model to workflows and activities, Laravel Workflow will intelligently serialize just the necessary attributes like the class and ID. This reduces overhead and ensures optimal performance.
  • Seamless Restoration: When you retrieve your model in a workflow or activity, Laravel Workflow will automatically restore the full model instance using the serialized data. This ensures you always work with fresh and accurate data.
about 2 years ago
Download
1.0.4

1.0.4

Adds make commands for workflows and activities.

php artisan make:workflow MyWorkflow
php artisan make:activity MyActivity

Defaults to App\Workflows\ but can be changed with workflows_folder configuration setting.

over 2 years ago
Download
1.0.3

1.0.3

This release adds support for ReactPHP Promise 3.

over 2 years ago
Download
1.0.2

1.0.2

Configurable Relationship Names

Users can now configure the relationship name for StoredWorkflow model, enhancing the flexibility to fit specific naming conventions or application requirements.

over 2 years ago
Download
1.0.1

1.0.1

This update provides greater flexibility by enabling the Laravel Workflow package to support MongoDB.

A base_model configuration option has been added to allow users to specify the base model. Now, instead of only using Illuminate\Database\Eloquent\Model::class as the base model, users can change it to other models such as Jenssegers\Mongodb\Eloquent\Model::class for MongoDB support.

By default Illuminate\Database\Eloquent\Model::class is used automatically. Unless you are using MongoDB then there is nothing that needs to be changed for your app.

See the documentation for more details.

https://laravel-workflow.com/docs/configuration/database-connection/#changing-base-model

over 2 years ago
Download
1.0.0

1.0.0

Laravel Workflow has reached its first major milestone, with version 1.0.0 now available. We believe this version signals readiness for wider production usage.

Stable API
Reaching version 1.0.0 means that Laravel Workflow’s API is now considered stable. The features and APIs provided in this version are well-tested and ready for use in production environments.

Bug Fixes
This release includes a fix for a minor bug present in version 0.0.38. We have been hard at work to ensure the stability of Laravel Workflow and to provide the most reliable experience possible.

Upgrading
While the changes in this release are mostly internal, we encourage all users to upgrade to version 1.0.0 to benefit from the bug fix and the more stable, production-ready codebase.

You can upgrade by running the following commands:

composer require laravel-workflow/laravel-workflow
composer update laravel-workflow/laravel-workflow

We are grateful to all our users and contributors who have helped us reach this milestone. We look forward to further collaboration and development of Laravel Workflow in the future.

Support
For any issues or queries related to this release, please refer to the Laravel Workflow GitHub repository or join us on our Discord channel.

Documentation
The latest documentation for Laravel Workflow can be found on our official website. Please refer to it for detailed instructions and examples on how to use Laravel Workflow.

We hope you enjoy the improvements in Laravel Workflow 1.0.0 and we’re excited to hear your feedback!

over 2 years ago
Download
0.0.38

0.0.38

Fix serialization

over 2 years ago
Download