Give your models the ability to flow through multiple states.
Features:
- 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-workflowYou can publish and run the migrations with:
php artisan vendor:publish --tag="laravel-workflow-migrations"
php artisan migrateYou 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"// TODOcomposer testPlease 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.