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

What is the difference between Phalcon\Mvc\Model\Validator and Phalcon\Validation\Validator?

I'm just curious... I have a model that has an ajax function that checks the integrity of an email on blur in the UI, but also have that same check when I create a user in the User model. I'm wondering if there is any difference between the two types of validation.

Phalcon\Mvc\Model\Validator use in model and Phalcon\Validation\Validator use else where.