PHPackages                             congraph/workflows - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. congraph/workflows

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

congraph/workflows
==================

v2.0.3(2mo ago)01703PHPPHP ^8.3 || ^8.4 || ^8.5

Since Nov 7Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/congraphcms/workflows)[ Packagist](https://packagist.org/packages/congraph/workflows)[ RSS](/packages/congraph-workflows/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (8)Versions (10)Used By (3)

congraph/workflows
==================

[](#congraphworkflows)

`congraph/workflows` manages workflow definitions and workflow points used to model state machines for content.

Responsibilities
----------------

[](#responsibilities)

- workflow CRUD
- workflow-point CRUD
- validation of transitions and workflow metadata
- repository bindings for workflow state definitions

This package is used by `eav` to handle entity statuses and localized workflow states.

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

[](#installation)

```
composer require congraph/workflows
```

Laravel package provider:

- [WorkflowsServiceProvider.php](/Users/nikolap/git/np/congraph/packages/workflows/WorkflowsServiceProvider.php)

Typical usage
-------------

[](#typical-usage)

Use workflows to define:

- editorial states like draft, review, published
- localized workflow paths
- state endpoints used by entities

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
cd /Users/nikolap/git/np/congraph/packages/workflows
composer update -W
```

### Run tests

[](#run-tests)

```
composer test
composer test:pgsql
```

The package has both unit coverage and database-backed integration coverage.

Contribution notes
------------------

[](#contribution-notes)

- prefer PostgreSQL-safe SQL and seeders
- workflow behavior changes should include validator and repository tests
- when changing status logic, also retest `eav` and `entity-elastic`

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 75% 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 ~615 days

Recently: every ~284 days

Total

6

Last Release

82d ago

Major Versions

v1.1.0 → v2.0.02026-04-11

PHP version history (4 changes)v1.0betaPHP &gt;=5.4.0

v1.0.0PHP ^8.1.0

v1.1.0PHP ^8.2.0

v2.0.0PHP ^8.3 || ^8.4 || ^8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3585404?v=4)[Nikola Plavšić](/maintainers/nikolaplavsic)[@nikolaplavsic](https://github.com/nikolaplavsic)

---

Top Contributors

[![nikolaplavsic](https://avatars.githubusercontent.com/u/3585404?v=4)](https://github.com/nikolaplavsic "nikolaplavsic (3 commits)")[![veljamatic](https://avatars.githubusercontent.com/u/1091355?v=4)](https://github.com/veljamatic "veljamatic (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/congraph-workflows/health.svg)

```
[![Health](https://phpackages.com/badges/congraph-workflows/health.svg)](https://phpackages.com/packages/congraph-workflows)
```

PHPackages © 2026

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