congraph/workflows

There is no license information available for the latest version (v2.0.3) of this package.

Maintainers

Package info

github.com/congraphcms/workflows

pkg:composer/congraph/workflows

Statistics

Installs: 168

Dependents: 5

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.3 2026-04-11 09:08 UTC

This package is auto-updated.

Last update: 2026-04-12 09:55:14 UTC


README

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

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

composer require congraph/workflows

Laravel package provider:

Typical usage

Use workflows to define:

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

Development

Install dependencies

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

Run tests

composer test
composer test:pgsql

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

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