Reading Excel Files with PHP

Recently I had to take datas from an excel file, when I was searching there was lot of complex codes, my intention was reading the datas row by row. Then I encountered with a repo. Our brother Sergey Shuckin wrote a class for this operations. Easy, useful and handles the situtation.

Firstly take files from here : (Note: Don't forget the give a star. wink )

Usage is very simple;


if ( $xlsx = SimpleXLSX::parse('test.xlsx') ) {
    print_r( $xlsx->rows() );
} else {
    echo SimpleXLSX::parse_error();

 It will give you rows in excel as a array. You can choose and use.


There are no comments, make the firs comment