PHPackages                             dereuromark/cakephp-bouncer - 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. [Admin Panels](/categories/admin)
4. /
5. dereuromark/cakephp-bouncer

ActiveCakephp-plugin[Admin Panels](/categories/admin)

dereuromark/cakephp-bouncer
===========================

CakePHP plugin for approval workflow - users propose changes, admins approve or reject before publishing

1.0.0(1mo ago)03.0k[2 issues](https://github.com/dereuromark/cakephp-bouncer/issues)MITPHPPHP &gt;=8.2CI passing

Since Nov 17Pushed 2mo agoCompare

[ Source](https://github.com/dereuromark/cakephp-bouncer)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-bouncer)[ Docs](https://github.com/dereuromark/cakephp-bouncer)[ RSS](/packages/dereuromark-cakephp-bouncer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (13)Versions (9)Used By (0)

Bouncer Plugin For CakePHP
==========================

[](#bouncer-plugin-for-cakephp)

[![Build Status](https://github.com/dereuromark/cakephp-bouncer/actions/workflows/ci.yml/badge.svg)](https://github.com/dereuromark/cakephp-bouncer/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/1a8fd48466671290031d86d74cca3b9f6038f0d7f0bd21979753107db01f1d88/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6465726575726f6d61726b2f63616b657068702d626f756e6365722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/dereuromark/cakephp-bouncer)[![PHPStan](https://camo.githubusercontent.com/f60d96f7c2579690ab6dfa8918f777fe93a02a92301c661eb38a85861a92b780/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)[![Latest Stable Version](https://camo.githubusercontent.com/001be8bbc39c73500e1ed1d92ebbaff10c6fa58b0df47a48bbc92fcabcb25f76/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d626f756e6365722f762f737461626c652e737667)](https://packagist.org/packages/dereuromark/cakephp-bouncer)[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/756fba1d5464f371ceb9ffe403104b10bc2704a35442ccd805fc315b4a993dbf/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d626f756e6365722f642f746f74616c2e737667)](https://packagist.org/packages/dereuromark/cakephp-bouncer)

This plugin implements an approval workflow for CakePHP applications. Users propose changes (create or edit records), and admins/moderators can review, approve, or reject those changes before they are published to the actual database tables.

Perfect for:

- Content management systems requiring editorial approval
- User-generated content that needs moderation
- Data entry systems with quality control
- Multi-stage approval workflows

**Note:** Revert functionality is intentionally out of scope for this plugin. For reverting changes to previous states, use the [cakephp-audit-stash](https://github.com/dereuromark/cakephp-audit-stash) plugin which provides comprehensive audit logging and revert capabilities. Bouncer focuses solely on the approval workflow for proposed changes.

Features
--------

[](#features)

- **Seamless Integration**: Add approval workflow to any table with a single behavior
- **Draft Management**: Users automatically edit their existing drafts instead of creating duplicates
- **Admin Interface**: Built-in UI for reviewing and approving/rejecting changes with diff view
- **Flexible Configuration**: Configure which actions require approval, use custom bypass callbacks
- **Transaction Safety**: Atomic approval process with rollback on errors
- **AuditStash Integration**: Works seamlessly with cakephp-audit-stash for complete audit trail

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

[](#installation)

Install via [composer](https://getcomposer.org):

```
composer require dereuromark/cakephp-bouncer
bin/cake plugin load Bouncer
```

Run the migrations to create the `bouncer\_records` table:

```
bin/cake migrations migrate -p Bouncer
```

Documentation
-------------

[](#documentation)

See [docs/README.md](docs/README.md) for detailed documentation including:

- Quick start guide
- Configuration options
- Advanced usage (bypass callbacks, programmatic approval)
- AuditStash integration
- How it works

Demo
----

[](#demo)

See the plugin in action:

Contributing
------------

[](#contributing)

See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance95

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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 ~17 days

Recently: every ~26 days

Total

8

Last Release

50d ago

Major Versions

0.1.6 → 1.0.02026-03-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (58 commits)")

---

Tags

plugincakephpworkflowmoderationbouncerapprovaldraft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-bouncer/health.svg)

```
[![Health](https://phpackages.com/badges/dereuromark-cakephp-bouncer/health.svg)](https://phpackages.com/packages/dereuromark-cakephp-bouncer)
```

###  Alternatives

[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36162.8k2](/packages/dereuromark-cakephp-setup)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[yokai/sonata-workflow

Integrate Symfony workflow component in Sonata Admin

23372.9k](/packages/yokai-sonata-workflow)[dereuromark/cakephp-translate

A CakePHP plugin for managing translations

1710.4k](/packages/dereuromark-cakephp-translate)[xety/cake3-upload

Cake3 plugin to upload files.

2825.6k1](/packages/xety-cake3-upload)[itosho/easy-query

CakePHP behavior plugin for easily generating some complicated queries like (bulk) insert/upsert etc.

2623.2k](/packages/itosho-easy-query)

PHPackages © 2026

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