Add workflow support to your Laravel models.
This package is auto-updated.
Last update: 2023-11-23 14:58:17 UTC
Give your models the ability to flow through multiple states.
- default workflow per model class.
- parallel workflows: each model can transition if more than one workflow, in parallel,
- permissioned transitions.
You can install the package via composer:
composer require square-bit/laravel-workflow
You can publish and run the migrations with:
php artisan vendor:publish --tag="laravel-workflow-migrations" php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="laravel-workflow-config"
This is the contents of the published config file:
return [ ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-workflow-views"
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.