Skip to content

phlllpe/mask

Repository files navigation

Mask

Scrutinizer Code Quality Code Coverage Build Status SensioLabsInsight

  • Mask

Install

composer require phlllpe/mask

Usage

        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);
            ...
        }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages