daylerees / sanitizer

Sanitize data using a number of mutation methods.
259 stars 22 forks source link

Add the ability to sanitize a single value #17

Closed nathan-isaac closed 7 years ago

nathan-isaac commented 8 years ago
$rules = 'trim|strtolower';
$data = '  Dayle';

Sanitizer::sanitizeValue($rules, $data);
dayle