php-anonymizer / anonymizer-pseudonymization
Keyed deterministic pseudonymisation for PHP Anonymizer
Package info
github.com/toniliesche/php-anonymizer-pseudonymization
pkg:composer/php-anonymizer/anonymizer-pseudonymization
Requires
- php: ^8.5
- php-anonymizer/anonymizer: ^2.0
- webmozart/assert: ^2.5
Requires (Dev)
None
Suggests
- php-anonymizer/anonymizer-bundle: Register pseudonymization strategies automatically in Symfony
- php-anonymizer/anonymizer-laravel: Register pseudonymization strategies automatically in Laravel
Provides
None
Conflicts
None
Replaces
None
README
Project Status
Project Info
Repo Status
License
This project is released under the MIT license.
See the LICENSE for more information.
Keyed deterministic pseudonymization and date shifting for PHP Anonymizer 2.0.
Requires PHP 8.5+ and the core package. The public API currently exposes
PseudonymKeyProviderInterface, but not a standalone strategy or
transformation registration API. Use the optional Bundle or Laravel
integration to register internal implementations and provide an
application-owned key provider. Do not instantiate HmacPseudonymStrategy;
it is internal and may change without notice.
The registered pseudonymize strategy uses a non-secret profile key_id and
requires contextual anonymization. date_shift requires contextual
anonymization, an integer max_days from 1 to 36525, and a scope_attribute
whose string value is present in context. Both use application-managed key
material; secret values must never be placed in profiles or logs.
See the package-local usage guide.