We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Array InclusionIn Validator

I have created a ArrayInclusionInValidator to validate that an array values are exist in another array. May this help someone

https://gist.github.com/wajdijurry/28fd9eb5aa9e862684cda7327caacde9

Nice! can you include in incubator? or improve our InclusionIn validator

edited Jan '19

Sure, I will open a pull request for Incubator

Nice! can you include in incubator? or improve our InclusionIn validator