2017 © Pedro Peláez
 

library workflow

Workflow library

image

netzmacht/workflow

Workflow library

  • Tuesday, July 24, 2018
  • by netzmacht
  • Repository
  • 4 Watchers
  • 18 Stars
  • 84 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 6 Versions
  • 8 % Grown

The README.md

Framework independent workflow library

Build Status Version Code quality Code coverage, (*1)

This is a framework independent workflow library. It provides an step-transition based workflow implementation for processing entities through its life cycle., (*2)

Due to its data format and framework independence it does not run as a standalone workflow library. The entity/data implementation and input processing via forms have to be implemented. This workflow library is more a skeleton for your workflow requirements., (*3)

Features

The main concept * An entity processes different steps in its lifecycle. * The process between two steps is called Transition. * A transition can depend on conditions which determine if the transition is available. * Each transition contains a list of actions which are performed to reach the next step. * Actions can require additional user input to perform the transition. * User input are handled by a form., (*4)

Workflow items * The Item wraps the entity to provide workflow related information. * It knows the current state and the whole state history. * Due to the flexibility of the data structure the EntityId is used to identify an entity., (*5)

Worfklow * An workflow is defined for a specific entities from a specific data provider. * The workflow is the definition of multiple steps and their transitions. * A workflow always has one start transition. * It can have multiple end transitions., (*6)

Manager * There can be multiple workflow definitions for the same data provider. * The manager selects the matching workflow and creates the transition handler. * At the moment an item can only be in one workflow., (*7)

Permissions * Transitions and steps can can be limited to an permission. * Checking the permission and organizing them is part of the current implementation., (*8)

More features * Collection based repositories. * Transaction save transitions. * Flexible config system for workflows, steps and transitions., (*9)

Requirements

This library requires at least PHP 7.1., (*10)

Changelog

See the CHANGELOG.md, (*11)

Example

You may have a look at the examples., (*12)

A concrete implementation is available as integration for CMS Contao netzmacht/contao-workflow., (*13)

Credits

This library is heavenly inspired by the great workflow implementation of orocrm plattform and got some concepts from the LexikWorkflowBundle., (*14)

The Versions

24/07 2018

dev-master

9999999-dev

Workflow library

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

states workflow transition

24/07 2018

2.0.0

2.0.0.0

Workflow library

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

states workflow transition

24/11 2017

dev-develop

dev-develop

Workflow library

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

states workflow transition

24/11 2017

2.0.0-beta1

2.0.0.0-beta1

Workflow library

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

states workflow transition

20/10 2016

1.0.0-beta2

1.0.0.0-beta2

Workflow library

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

states workflow transition

18/12 2014

1.0.0-beta1

1.0.0.0-beta1

Workflow library

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

states workflow transition