Url validation


I would like to validate URLs that are not related to any models. Is it possible to use Phalcon to validate passed strings? If no, do you think that there's a need for that functionality? Maybe, I could add a validation/validator class?

Thanks in advance,


I just use Phalcon\Validation\Validator\Regex but I think pull request would be awesome

Thanks for thumbs up, I added a PR which was merged few moments ago - version 1.3.0 https://github.com/phalcon/cphalcon/blob/1.3.0/ext/validation/validator/url.c