Download the PHP package vesperabr/fieldtize without Composer
On this page you can find all versions of the php package vesperabr/fieldtize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vesperabr/fieldtize
More information about vesperabr/fieldtize
Files in vesperabr/fieldtize
Download vesperabr/fieldtize
More information about vesperabr/fieldtize
Files in vesperabr/fieldtize
Vendor vesperabr
Package fieldtize
Short Description Parse, validate and format fields easily.
License MIT
Homepage https://github.com/vesperabr/fieldtize
Package fieldtize
Short Description Parse, validate and format fields easily.
License MIT
Homepage https://github.com/vesperabr/fieldtize
Please rate this library. Is it a good library?
Informations about the package fieldtize
Fieldtize
Parse, validate and format common fields in an easy way.
- Installation
- Methods
- Fields
- Phone
- Testing
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Methods
Every field class has at least this methods:
make()Returns the field class instance.original()Returns the original value passed to the class.get()Returns the formatted value or null if value is invalid.raw()Returns the value without any masks or null if value is invalid.isValid()Returns true or false if value is invalid.
Fields
Phone
Todo
- [ ] Phone field:
getUri()method - [ ] Phone field:
getWhatsappUri()method - [ ] Phone field:
getInternationalNumber()method - [ ] Phone field:
getType()method - [ ] Phone field:
getCountry()method - [ ] CPF field
- [ ] CNPJ field
- [ ] CPF/CNPJ field
- [ ] CEP field
- [ ] E-mail field
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of fieldtize with dependencies
PHP Build Version
Package Version
The package vesperabr/fieldtize contains the following files
Loading the files please wait ...