this uuid validator could be interesting https://github.com/symfony/symfony/commit/3ab2dd7076950f7c3b3ff6ce7f68e5ed2872d448 needs to be an optional dependency however, its only in symfony 2.5