Library ported to PHP 5.3 to use it in Symfony2 Projects