Data validation and sanitizing
HylianShield will barricade nasty data from your application. It tries to solve this by supplying powerful validators.
Data validation is not just about keeping your application secure. Although it should help you determine if data was malformed, it will also help you write stricter and less buggy code.
We recognize that PHP has no proper type hinting for scalar data types. This is a huge pain to deal with, since arguments that should accept scalar values, actually will support the
mixed data type, meaning any and all data you find laying around in your application can be sent through there.
- How to play: An installation manual
- API Docs: A completely generated API documentation
- Use case: An example of the HylianShield validator in action
- Reference: An overview of the available validators and their arguments
- Debugging: Add some context and meaning to failing validations
- Frameworks: 1-2-3-go. Direct integration with your framework
- Changelog: What changed in the last versions?
- Contributing: How do I add a validator in the mix?
To a fault, we support PHP 5.3, 5.4, 5.5 and 5.6, which are all unit tested using Travis CI.