Matrix is a project mainly written in PHP, it's free.
PHP Matrix implementation using Table data structure
This is a matrix class written in PHP