Alea

Alea.php is a pure PHP port of the JavaScript   seedable pseudo-random number generator library.