PHPackages                             cornernote/yii2-workflow-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. cornernote/yii2-workflow-manager

ActiveYii2-extension[Framework](/categories/framework)

cornernote/yii2-workflow-manager
================================

Workflow Manager for Yii2.

1.0.2(8y ago)3736.1k↓35.7%20[1 PRs](https://github.com/cornernote/yii2-workflow-manager/pulls)20BSD-3-ClausePHPCI failing

Since Feb 2Pushed 5y ago7 watchersCompare

[ Source](https://github.com/cornernote/yii2-workflow-manager)[ Packagist](https://packagist.org/packages/cornernote/yii2-workflow-manager)[ RSS](/packages/cornernote-yii2-workflow-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (20)

Yii2 Workflow Manager
=====================

[](#yii2-workflow-manager)

[![Latest Version](https://camo.githubusercontent.com/7c1dc33f6806dea1fe856fb96159813d2bd0982a74a2d80328ef0ec26822e92b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f636f726e65726e6f74652f796969322d776f726b666c6f772d6d616e616765722e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/cornernote/yii2-workflow-manager/tags)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d098b7897af8420522c1e2ebfff0a19e5e29ac855983028b8aeed31c0d651bcd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f726e65726e6f74652f796969322d776f726b666c6f772d6d616e616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/cornernote/yii2-workflow-manager)[![Coverage Status](https://camo.githubusercontent.com/1e26f1dadce0800de67f6117d43fee758aff7c48f27daaa30ef351237bbe3a67/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f636f726e65726e6f74652f796969322d776f726b666c6f772d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/cornernote/yii2-workflow-manager/code-structure)[![Quality Score](https://camo.githubusercontent.com/2ef92beabdadb2d447d761f9e02baff7090aaba1deb9f313feef33c31e35f08a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f636f726e65726e6f74652f796969322d776f726b666c6f772d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/cornernote/yii2-workflow-manager)[![Total Downloads](https://camo.githubusercontent.com/702ef936ca1557d1607cc2abd1b2438bac898a6c46a9e39caa96df9bf875beab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f726e65726e6f74652f796969322d776f726b666c6f772d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cornernote/yii2-workflow-manager)

Workflow Manager for Yii2. Extends [Yii2-Workflow](https://github.com/raoul2000/yii2-workflow/) to provide an interface to manage workflows.

[![screenshot](https://cloud.githubusercontent.com/assets/51875/17660161/a351c124-6316-11e6-8e2b-28340fe6dc8d.png)](https://cloud.githubusercontent.com/assets/51875/17660161/a351c124-6316-11e6-8e2b-28340fe6dc8d.png)

Features
--------

[](#features)

- Create and manage workflows, statuses and transitions using a simple interface.
- Manage metadata for each status to allow additional data such as colors and icons.
- Displays the workflow transitions using [Yii2 Workflow View](https://github.com/raoul2000/yii2-workflow-view)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require cornernote/yii2-workflow-manager "*"

```

or add

```
"cornernote/yii2-workflow-manager": "*"

```

to the `require` section of your `composer.json` file.

Migrations
----------

[](#migrations)

```
$ php yii migrate --migrationPath=@cornernote/workflow/manager/migrations

```

Configuration
-------------

[](#configuration)

```
$config = [
    'components' => [
        'workflowSource' => [
            'class' => 'cornernote\workflow\manager\components\WorkflowDbSource',
        ],
    ],
    'modules' => [
        'workflow' => [
            'class' => 'cornernote\workflow\manager\Module',
        ],
    ],
];
```

Usage
-----

[](#usage)

Simply visit `?r=workflow` within your application to start managing workflows.

Once you have defined a workflow, you can attach it to a model as follows:

```
class Post extends \yii\db\ActiveRecord
{
    public function behaviors()
    {
        return [
            [
                'class' => \raoul2000\workflow\base\SimpleWorkflowBehavior::className(),
                'defaultWorkflowId' => 'post',
                'propagateErrorsToModel' => true,
            ],
        ];
    }
}
```

License
-------

[](#license)

- Author: Brett O'Donnell
- Source Code:
- Copyright © 2016 Mr PHP
- License: BSD-3-Clause

Links
-----

[](#links)

- [Yii2 Extension](http://www.yiiframework.com/extension/yii2-workflow-manager)
- [Composer Package](https://packagist.org/packages/cornernote/yii2-workflow-manager)
- [MrPHP](http://mrphp.com.au)

[![Mr PHP](https://camo.githubusercontent.com/5c2a4e06b8343bc0132af3775a46e3cbe9b40f69708f11bf40869fc560fdde17/68747470733a2f2f7261772e6769746875622e636f6d2f636f726e65726e6f74652f6d727068702d6173736574732f6d61737465722f696d672f636f64652d62616e6e65722e706e67)](http://mrphp.com.au)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~208 days

Total

3

Last Release

2976d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07c84a589344489e8195ec1c6afcfa3abcc23a73092ceaa4ca60da96355c4d16?d=identicon)[cornernote](/maintainers/cornernote)

---

Top Contributors

[![cornernote](https://avatars.githubusercontent.com/u/51875?v=4)](https://github.com/cornernote "cornernote (40 commits)")[![softbread](https://avatars.githubusercontent.com/u/685268?v=4)](https://github.com/softbread "softbread (8 commits)")[![philippfrenzel](https://avatars.githubusercontent.com/u/2319890?v=4)](https://github.com/philippfrenzel "philippfrenzel (2 commits)")[![derekisbusy](https://avatars.githubusercontent.com/u/5118781?v=4)](https://github.com/derekisbusy "derekisbusy (1 commits)")[![marcoadasilvaa](https://avatars.githubusercontent.com/u/4205973?v=4)](https://github.com/marcoadasilvaa "marcoadasilvaa (1 commits)")

---

Tags

workflowyii2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cornernote-yii2-workflow-manager/health.svg)

```
[![Health](https://phpackages.com/badges/cornernote-yii2-workflow-manager/health.svg)](https://phpackages.com/packages/cornernote-yii2-workflow-manager)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[raoul2000/yii2-workflow

A simple workflow engine for Yii2

17289.8k32](/packages/raoul2000-yii2-workflow)[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)[thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

1777.7k](/packages/thiagotalma-yii2-fullcalendar)[arogachev/yii2-sortable

Sortable ActiveRecord for Yii 2 framework

1637.0k4](/packages/arogachev-yii2-sortable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
