Created
September 30, 2022 07:23
-
-
Save fazlurr/1ea03a4a53f06543c69f41d06e174905 to your computer and use it in GitHub Desktop.
Revisions
-
fazlurr created this gist
Sep 30, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ <?php use Shuchkin\SimpleXLSX; ... $file = $request->file('file'); $file_path = $file->getRealPath(); if ( $xlsx = SimpleXLSX::parse($file_path) ) { $rows = $xlsx->rows(); }