Mask to PHP
github.com/phlllpe/mask
Homepage
Source
Issues
Installs: 450
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Requires
Requires (Dev)
Suggests
None
Provides
Conflicts
Replaces
MIT 4c03a6e1c95ad8b30dedff5edbe871ac0a1f927e
maskphp maskdisplay value with mask
This package is auto-updated.
Last update: 2024-11-27 00:31:05 UTC
composer require phlllpe/mask
use Mask\Predefined\Br\Cep; use Mask\Predefined\Br\Cpf; ... public function foo($cepValue) { ... $maskCep = (new Cep())->mask($cepValue)->toString(); ... } public function bar($cpfValue) { ... echo (new Cpf())->mask($cpfValue); ... }