This Symfony 2 bundle provides a class and commands to add, detect and remove the BOM character.