Skip to content

xu-li/flow

Repository files navigation

Flow

Build Status

Flow is a business flow implementation.

Why?

Often, we are faced with complex business rules. It can be easily verified if the processes and transitions can be visualized. Flow does that and more.

Features

Core classes/interfaces

ProcessInterface

Each process must implement ProcessInterface. Each process implementation should avoid storing state. The output of the proceed() method should only depend on the input payload.

StrategyInterface

A StrategyInterface implementation decides which process from a number of possible processes should be picked.

Flow

The main Flow class. See Examples.

Examples

  1. Simple
  2. Listen to transition events

License

MIT

About

Flow is a business flow implementation

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages