myPHPivot This "library" contains a function to simply pivot an array ( or object ) It doesn't generate html, just pivot array main purpose if for use with datatables.