To install from the Marketplace, click on the "Add to Project" button and then select the project you wish to add it to before updating the project to pull in the plugin.
To install from the backend, go to Settings -> Updates & Plugins -> Install Plugins and then search for Prismify.Pipeline.
Add Pipeline and Stage to any model
This plugin provides an easy way to add pipeline fields, pipeline and stage, to any model. Simply add these columns to the database table:
Then implement the Prismify.Pipeline.Behaviors.PipelineModel behavior in the model class:
public $implement = ['Prismify.Pipeline.Behaviors.PipelineModel'];
This will automatically create two "belongs to" relationships:
- pipeline - relation for Prismify\Pipeline\Models\Prismify
- stage - relation for Prismify\Pipeline\Models\Stage
You are free to add the following form field definitions:
pipeline: label: Pipeline placeholder: -- select pipeline -- type: dropdown stage: label: Stage placeholder: -- select stage -- type: dropdown dependsOn: pipeline
For the list column definitions, you can use the following snippet:
pipeline: label: Pipeline searchable: true relation: pipeline select: name sortable: false stage: label: Stage searchable: true relation: stage select: name sortable: false
This plugin has not been reviewed yet.
First version of plugin
Mar 21, 2019