come no?

parametro angle
imagettftext($image, $size, 90, $x, $y, $color, $font, $text);

ulteriori informazioni sulla creazione immagini al volo