Search by

php-anonymizer / anonymizer-pseudonymization

tliesche

Keyed deterministic pseudonymisation for PHP Anonymizer

Package info

github.com/toniliesche/php-anonymizer-pseudonymization

pkg:composer/php-anonymizer/anonymizer-pseudonymization

Statistics

Installs: 4

Dependents: 0

Suggesters: 2

Stars: 0

Open Issues: 0

2.0.2 2026-10-26 06:38 UTC

This package is auto-updated.

Last update: 2026-10-26 07:46:07 UTC


README

Project Status

Tests Code Coverage Mutation testing badge Downloads Stars

Project Info

PHP Version Latest Version License

Repo Status

Last Commit Issues

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.