Best Form Validation library for Slim

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.

I use - https://github.com/DavidePastore/Slim-Validation

Thanks for your reply, i will try vlucas/valitron :slight_smile:

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: