transfert errorPhp lib to new component