ecotone / data-protection
Field-level encryption and PII masking for Ecotone messages — GDPR-friendly data protection with crypto-shredding.
Fund package maintenance!
Requires
- php: ^8.2
- ext-openssl: *
- ecotone/ecotone: ~1.309.1
- ecotone/jms-converter: ~1.309.1
- paragonie/random_compat: ^2.0
Requires (Dev)
- ecotone/pdo-event-sourcing: ~1.309.1
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.0
- wikimedia/composer-merge-plugin: ^2.1
Suggests
- ext-simplexml: Required if application/xml is used as serialization media type
README
To contribute make use of Ecotone-Dev repository.
Ecotone is the enterprise architecture layer for Laravel and Symfony.
One Composer package adds CQRS, Event Sourcing, Sagas, Projections, Workflows, and Outbox messaging to your existing application — all via declarative PHP 8 attributes on the classes you already have.
Data Protection
Attribute-driven encryption and PII masking for Ecotone messages. Mark sensitive fields on commands, events, or queries and Ecotone handles protection transparently — in message channels, event stores, dead letter queues, and traces — without changing your handler code.
- Field-level encryption — sensitive fields encrypted in transit and at rest
- PII masking — configurable masking for logs and traces
- Key management — pluggable key providers for integration with your existing secrets store
- GDPR / HIPAA support — crypto-shredding for right-to-be-forgotten workflows
Visit ecotone.tech to learn more.
Works with Symfony, Laravel, or any PSR-11 framework via Ecotone Lite.
Getting started
See the quickstart guide and reference documentation. Read more on the Ecotone Blog.
AI-Ready documentation
Ecotone ships with MCP server, Agentic Skills, and LLMs.txt for any coding agent. See the AI Integration Guide.
Feature requests and issue reporting
Use issue tracking system for new feature request and bugs. Please verify that it's not already reported by someone else.
Contact
If you want to talk or ask questions about Ecotone
Support Ecotone
If you want to help building and improving Ecotone consider becoming a sponsor:
Tags
PHP, Data Protection, PII, GDPR, Encryption, Ecotone, Message Protection, Crypto-Shredding