- Install:
- $ composer require rubricate/filter
A flexible, lightweight, and object-oriented string filtering and sanitization library.
Usage Examples
First, ensure you have your autoloader configured. All filters implement
Rubricate\Filter\IGetFilter and expose the
getFilter(string $value): string method.
Preserve Namespace
AlnumFilter
AlphaFilter
NumFilter
AlnumDashFilter
Word Namespace
ToCamelCaseFilter
FromCamelCaseFilter
ReplaceFilter