PHPackages                             heimrichhannot/contao-entity-approval-bundle - 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. heimrichhannot/contao-entity-approval-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

heimrichhannot/contao-entity-approval-bundle
============================================

This bundle offers customizable approval process for all entities for the Contao CMS.

0.1.2(4y ago)039LGPL-3.0-or-laterPHPPHP ^7.4||^8.0

Since Nov 16Pushed 4y ago6 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-entity-approval-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-entity-approval-bundle)[ RSS](/packages/heimrichhannot-contao-entity-approval-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (16)Versions (4)Used By (0)

contao-entity-approval-bundle
=============================

[](#contao-entity-approval-bundle)

Requirements
------------

[](#requirements)

- PHP: ^7.4
- Contao: ^4.9

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

[](#installation)

composer require heimrichhannot/contao-entity-approval-bundle

Features
--------

[](#features)

- all entities can be configured for approval
- approval entities can only be set visible if approved
- admin can set visible without approval
- sends emails on entity status change or on transition
- unlimited approval steps

Workflow
--------

[](#workflow)

[![workflow](docs/img/approval-process.jpg)](docs/img/approval-process.jpg)

for automatic creation of workflow diagram, just use the following command:

`vendor/bin/contao-console workflow:dump entity_approval | dot -Tpng -o vendor/heimrichhannot/contao-entity-approval-bundle/docs/img/approval-process.jpg`

### External Components

[](#external-components)

Symfony Workflow component:

Symfony String component:

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

[](#configuration)

All entities can be configured for approval workflow by setting it up in the config.yml. Example below show a config for tl\_submission entity(see option comments for more information)

### example config.yml

[](#example-configyml)

```
huh_entity_approval:
  # Entity name( table name )
  tl_submission:
    # approval steps with options:
    # ['name'] will be used to field names
    # ['groups'] is array of usergroups for approval in each step
    # ['mode'] is used for choosing of a user from groups : possible values (random, all)
    auditor_levels:
      - { name: "primary", groups: [ 10 ], mode: 'random' }
      - { name: "secondary", groups: [ 11,12,13,14,17,18 ], mode: 'random' }
    # entity field where the author email address is saved (used for notifications)
    author_email_field: email
    # notifications to be sent on state change or transition
    emails:
      auditor_changed_former: true
      auditor_changed_new: true
      state_changed_author: true
```

### Contao limitations

[](#contao-limitations)

Some Entities will show approval fields after these fields are set visible in the entity archive settings (eg. tl\_submission)

Usergroup permissions need to be set for every entity and approval field, to be displayed in the backend.

Events
------

[](#events)

### PHP events

[](#php-events)

Events are fired as symfony events.

Event nameDescriptionBeforeEntityGetModelEventUsed to modify approval entity before display in Backend

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~3 days

Total

3

Last Release

1637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![AlexejKossmann](https://avatars.githubusercontent.com/u/32612134?v=4)](https://github.com/AlexejKossmann "AlexejKossmann (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-entity-approval-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-entity-approval-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-entity-approval-bundle)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)

PHPackages © 2026

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