Php functions to make you work faster.
With composer:
composer require sysvale/helpers
- maskBank
- maskCpf
- unMaskCpf
- maskPhone
- maskMoney
- maskCep
- maskCnpj
- trimpp
- titleCase
- firstUpper
- urlNoCache
- ptDate2IsoDate
- regexAccents
- toInt
- toFloat
- toTime
- toArray
- toArrayInt
- toData
- toBool
- toBoolNotNull
- removeAccents
- compareVersion
- monthPt
- removeCrassLetters
- validateCpf
- weekDay
- city
- getNFirstWords
use Sysvale/Helpers;
$bankNumber = 12345;
$maskedBank Helpers::maskBank($bankNumber)
// $maskedBank will be 1234-5
If you are interested in contributing, please read and abide by the contributing guidelines.