Download the PHP package j0hnys/trident-workflow without Composer
On this page you can find all versions of the php package j0hnys/trident-workflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package trident-workflow
Trident workflow
Use the Symfony Workflow component in Laravel.
Installation
composer require j0hnys/trident-workflow
Add the Workflow
facade to your facades array:
Configuration
Publish the config file
Configure your workflow in config/workflow.php
Use the WorkflowTrait
inside supported classes
Usage
Use the events
This package provides a list of events fired during a transition
You can subscribe to an event
Dump Workflows
Symfony workflow uses GraphvizDumper to create the workflow image. You may need to install the dot
command of Graphviz
php artisan workflow:dump workflow_name --class App\\BlogPost
You can change the image format with the --format
option. By default the format is png.
php artisan workflow:dump workflow_name --format=jpg
All versions of trident-workflow with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
symfony/workflow Version ^4.0
symfony/process Version ^5.0
symfony/event-dispatcher Version ^5.0
illuminate/console Version ^7.0
illuminate/support Version ^7.0
symfony/workflow Version ^4.0
symfony/process Version ^5.0
symfony/event-dispatcher Version ^5.0
illuminate/console Version ^7.0
illuminate/support Version ^7.0
The package j0hnys/trident-workflow contains the following files
Loading the files please wait ....