Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Workflow Bundle Laravel Package

aboutcoders/workflow-bundle

Symfony bundle to define and manage workflows with optional GUI. Provides routing and ORM configuration, Twig helpers to render workflow configuration and history, and an AJAX endpoint to fetch execution history. Integrates with KnpMenuBundle and JobBundle.

View on GitHub
Deep Wiki
Context7

Symfony Workflow Bundle

A symfony bundle that allows define and manage workflows.

Configuration

Add the bundle:

{
    "require": {
        "aboutcoders/workflow-bundle": "dev-master"
    }
}

Enable the bundles in the kernel:

# app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Knp\Bundle\MenuBundle\KnpMenuBundle(),
        new Abc\Bundle\WorkflowBundle\AbcWorkflowBundle(),
        // ...
    );
}

Configure routing

# app/config/routing.yml
abc_workflow_tasks:
    resource: "@AbcWorkflowBundle/Resources/config/routing.yml"
    prefix:   /

If you like to display workflow GUI you have to import optional routing rules

# app/config/routing.yml
abc_workflow_workflows:
    resource: "@AbcWorkflowBundle/Resources/config/routing_optional.yml"
    prefix:   /

Follow the installation and configuration instructions of the third party bundles:

Configure the bundle

# app/config/config.yml
abc_workflow:
  db_driver: orm

Usage

Display workflow configuration GUI

{{ workflow_configuration(workflowEntity) }}

Display workflow history GUI

{{ workflow_history(workflowEntity) }}

Get workflow history via AJAX

{{ path('execution_history', { 'id': workflowId }) }}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware