{"id":33428705,"url":"https://github.com/dereuromark/cakephp-bouncer","last_synced_at":"2026-04-03T00:01:25.202Z","repository":{"id":324560002,"uuid":"1097616513","full_name":"dereuromark/cakephp-bouncer","owner":"dereuromark","description":"Flexible and rock solid gate keeping for CakePHP, moderate/approve changes.","archived":false,"fork":false,"pushed_at":"2026-03-28T16:10:19.000Z","size":162,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-28T16:35:27.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dereuromark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-16T14:20:35.000Z","updated_at":"2026-03-28T16:10:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dereuromark/cakephp-bouncer","commit_stats":null,"previous_names":["dereuromark/cakephp-bouncer"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dereuromark/cakephp-bouncer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-bouncer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-bouncer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-bouncer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-bouncer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dereuromark","download_url":"https://codeload.github.com/dereuromark/cakephp-bouncer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-bouncer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31319735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T23:57:25.032Z","status":"ssl_error","status_checked_at":"2026-04-02T23:57:06.281Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-24T07:00:32.629Z","updated_at":"2026-04-03T00:01:25.197Z","avatar_url":"https://github.com/dereuromark.png","language":"PHP","funding_links":[],"categories":["Auditing / Logging","Plugins"],"sub_categories":["Auditing / Logging"],"readme":"# Bouncer Plugin For CakePHP\n\n[![Build Status](https://github.com/dereuromark/cakephp-bouncer/actions/workflows/ci.yml/badge.svg)](https://github.com/dereuromark/cakephp-bouncer/actions/workflows/ci.yml)\n[![Coverage Status](https://img.shields.io/codecov/c/github/dereuromark/cakephp-bouncer/master.svg?style=flat-square)](https://codecov.io/github/dereuromark/cakephp-bouncer)\n[![PHPStan](https://img.shields.io/badge/PHPStan-level%208-brightgreen.svg?style=flat)](https://phpstan.org/)\n[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-bouncer/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-bouncer)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.2-8892BF.svg)](https://php.net/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-bouncer/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-bouncer)\n\nThis 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.\n\nPerfect for:\n- Content management systems requiring editorial approval\n- User-generated content that needs moderation\n- Data entry systems with quality control\n- Multi-stage approval workflows\n\n**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.\n\n## Features\n\n- **Seamless Integration**: Add approval workflow to any table with a single behavior\n- **Draft Management**: Users automatically edit their existing drafts instead of creating duplicates\n- **Admin Interface**: Built-in UI for reviewing and approving/rejecting changes with diff view\n- **Flexible Configuration**: Configure which actions require approval, use custom bypass callbacks\n- **Transaction Safety**: Atomic approval process with rollback on errors\n- **AuditStash Integration**: Works seamlessly with cakephp-audit-stash for complete audit trail\n\n## Installation\n\nInstall via [composer](https://getcomposer.org):\n\n```bash\ncomposer require dereuromark/cakephp-bouncer\nbin/cake plugin load Bouncer\n```\n\nRun the migrations to create the \\`bouncer_records\\` table:\n\n```bash\nbin/cake migrations migrate -p Bouncer\n```\n\n## Documentation\n\nSee [docs/README.md](docs/README.md) for detailed documentation including:\n- Quick start guide\n- Configuration options\n- Advanced usage (bypass callbacks, programmatic approval)\n- AuditStash integration\n- How it works\n\n## Demo\n\nSee the plugin in action: [https://sandbox.dereuromark.de/sandbox/bouncer-examples](https://sandbox.dereuromark.de/sandbox/bouncer-examples)\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereuromark%2Fcakephp-bouncer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdereuromark%2Fcakephp-bouncer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereuromark%2Fcakephp-bouncer/lists"}