Zend-Framework-Tag-Validator is a project mainly written in PHP, it's free.
A validator to test a string of comma separated tags
A validator to test a string of comma separated tags. Just throw it into your Library folder.