Which validation libraries do you recommend?

Which validation libraries do you recommend?

I like

1 Like

Do you have a slim application demonstrating integration with this library?

Thanks

Not that is publicly available. I use it in several CRUD type apps as well as one SAAS style app. It is pretty simple and easy to integrate. I have a getValidator function in my Models (Eloquent) that returns true/false if the model validates. In my controllers I just check if the model is valid before saving to the DB or tossing back to the user to adjust input.

1 Like

I like respect/validation

Another library:

1 Like

Use my lib: GitHub - Nelson-Dominici/Slimgry: Slimgry is a validation middleware for the Slim framework, with a validation syntax similar to Laravel.