Download the PHP package rodrigoaramburu/php-mask without Composer
On this page you can find all versions of the php package rodrigoaramburu/php-mask. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rodrigoaramburu/php-mask
More information about rodrigoaramburu/php-mask
Files in rodrigoaramburu/php-mask
Download rodrigoaramburu/php-mask
More information about rodrigoaramburu/php-mask
Files in rodrigoaramburu/php-mask
Vendor rodrigoaramburu
Package php-mask
Short Description Biblioteca para utilizar máscaras simples em strings
License MIT
Package php-mask
Short Description Biblioteca para utilizar máscaras simples em strings
License MIT
Please rate this library. Is it a good library?
Informations about the package php-mask
PHPMask
PHP Mask é uma biblioteca para aplicar máscaras simples em string.
Uso
Utilize o método estático apply
da classe Mask
Parâmentros
$inputValue
: string de entrada a ser aplicada a máscara$mask
: string contendo o formato da máscara a ser aplicada$fillChar
: caractere para preencher caso a string de entrada for menos que os caracteres(#) da máscara. Padrão "0".$direction
: Direção em que os caracteres da entrada serão colocados na mascara. Aceita os valores das constantesMask::DIRECTION_LEFT
eMask::DIRECTION_RIGHT
. PadrãoMask::DIRECTION_LEFT
.
Máscara
Para formar a mascar utilize caracteres # nas posições em que deseja que os valores de entrada sejam substituidos. Ao utilizar o caracter de um * ele será substituido por todos os caracteeres de entrada restante. Caracteres diferentes de # e * permanecerão inalterados.
Exemplos
All versions of php-mask with dependencies
PHP Build Version
Package Version
No informations.
The package rodrigoaramburu/php-mask contains the following files
Loading the files please wait ....