Flikore Validator
A simple validation library
Flikore Validator is a validation library for PHP aimed to be simple, powerful, object oriented and extensible. It also focus on code and objects reuse, both in the library itself and in the projects that rely on the Validator.
There are many others validators for PHP, of course. Respect/Validation, for example, is very thorough and has a lot of validators ready to be used. The system for error messages, however, is problematic and was one of the reasons for Flikore Validator to arise. Valitron is very simple and minimalistic, but it validates only arrays (not single values) and doesn’t work with objects like Respect and Flikore do.
How to use
To show how simple it is to use, see the following example:
For more examples and information, see the usage page.
How to install
For information about download and installation, please check the download page.
Extensibility
New validators can be added simply by extending the base class.
Contributing
Flikore Validator is an open source project and, for now, maintained by a single person (George Marques). If you want to help, there are many ways to do so.
The easiest way is to open an issue on GitHub. It’ll be checked soon and updated within reason. There are some personal goals to this project, so not all suggestions can be achieved.
If you are a developer and want to contribute with code, first understand that this project follows the TDD practice, so you need to ship your code with the unit tests. After that, just send a pull request on GitHub and it’ll be looked.