mask-pii for PHP

PHP implementation of mask-pii for masking email and phone PII in logs and data pipelines.

Email masking

Masks local parts while preserving domain visibility.

Phone masking

Masks sensitive digits while keeping format and suffix visibility.

Builder-style API

Enable email/phone masking and mask character explicitly before processing.

Install and start

Follow the PHP README for package setup and usage details.

Installation

composer require finitefield-org/mask-pii

Usage

README.md
// Language-specific README and examples:
https://github.com/finitefield-org/mask-pii/tree/main/php
Note

Please check the README for exact package ecosystem details and API examples for this language.