What you would like to do is convert that number to a different notation - one that includes both letters and numbers like base 36 which is actually alphanumeric -> a-z + 0-9.
So what you would need to do is:
$string = base_convert ( $number , 10, 36 );
Documentation:
string base_convert ( string $number , int $frombase , int $tobase );