I am using Slim 3 for Rest Api, and i need to validate data coming from frontend like not empty, number, email…
Please suggest me any easy to use library for this.
These are both popular, I use vlucas/valitron in many of my projects.
Thanks for your reply, i will try vlucas/valitron
maybe you like this : https://github.com/nanaksr/validator
I think this is a simple validation for which there are a lot of PHP libraries out there. Here are some of the popular ones that you can use:
I created a lib for this, it is simple and easy to use: