in evaluating which AES PHP class (of which there are several), i have found that this to be the best library:
phpseclib.sourceforge.net/documenta
...
it's four times as fast, as per the table in that link, and supports key sizes of 128, 192 and 256 bits (unlike this library which only supports key sizes of 128 bits).