Polymath is a general purpose PHP 5.3 Mathematics Library.