This library sanitizes an array based on another array ruleset. The ruleset can have specific settings to force array values such as boolean, string, integer, decimal and others, as well as force regular expression pattern matching. This library is intended to be used as a compliment to our Array Validation library.
This is our first release of the Array Sanitization library. While our library is extremely basic, we hope you will use it and submit any bug fixes and feature improvements you may want to contribute. We aim for 100% code coverage and high scores in code readability and best programming practices through Scrutinizer.
This library has been fully tested and is ready for production use.