Skip to content

Releases: multidimension-al/array-validation

Additional Built-In Patterns & Bug Fixes

23 Feb 07:17
Compare
Choose a tag to compare

In this release we have added a few additional features including more built in pattern matching, such as: URLs, Emails, IP addresses and MAC addresses. Hopefully more built in patterns will be coming. We also fixed a bug involving empty keys being valid when the key is not required.

Code coverage remains around 100%, but code quality has taken a hit and that will hopefully be addressed in a future update.

Initial Release

20 Feb 03:31
Compare
Choose a tag to compare

This library allows for validation of an array using another array as a ruleset. Validation rules include requiring specific keys, specific types and specific values. When the validation fails, the library throws a normal Exception. For best results, also consider using our Array Sanitization library which will correct errors and forces type corrections prior to validation.

This is our first release of the Array validation 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.