Download the PHP package vpg/titon.utility without Composer
On this page you can find all versions of the php package vpg/titon.utility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vpg/titon.utility
More information about vpg/titon.utility
Files in vpg/titon.utility
Package titon.utility
Short Description The Titon utility package provides convenience classes for basic tasks like validation, formatting, sanitization and more.
License BSD-2-Clause
Homepage http://titon.io
Informations about the package titon.utility
Utility v0.13.4
The Titon utility package provides lightweight static classes for common tasks. All utilities extend a powerful macro system which permits the addition of new static methods at runtime.
Amongst the robust macro system, we can easily execute other functionality, for example.
The Converter
converts one type of data to another.
Crypt
encrypts and decrypts data through the mcrypt extension.
Format
formats strings into common patterns.
Hash
mutates or accesses data in arrays.
Inflector
rewrites strings to specific forms.
Number
applies calculations or evaluations on numbers.
Path
resolves file paths, namespaces, and class names.
Sanitize
cleans and filters data.
String
modifies and analyzes strings.
Time
evaluates and compares dates and times.
Validate
validates data with defined rules and patterns.
Can be used in combination with the Validator
, which provides an object oriented approach to data validation.
Most of the functionality found in the static classes can also be found in global functions. The list of all functions can be found in the bootstrap file within the source folder.
Features
Converter
- Convert one type to anotherCrypt
- Data encryption and decryptionFormat
- Data formattingHash
- Object and array manipulationInflector
- String and grammar formattingNumber
- Number manipulationPath
- File system and namespace path formattingSanitize
- Data cleaning and escapingString
- String manipulationTime
- Date and time manipulationValidate
- Data validation and filteringValidator
- Schema Rule Validation
Requirements
- PHP 5.3.0
- Multibyte
- SimpleXML (for Converter)
- Mcrypt (for Crypt)
- Fileinfo (for Validate)
All versions of titon.utility with dependencies
ext-mbstring Version *