thecodeisbae / excel-to-csv
A simple excel to Csv package
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thecodeisbae/excel-to-csv
Requires
- phpoffice/phpspreadsheet: ^1.18
This package is auto-updated.
Last update: 2025-10-21 19:10:00 UTC
README
A simple Excel multisheets file to Csv convertor.
The Class constructor have 3 calls :
new ExcelToCsv($file,$filePath)
new ExcelToCsv($file,$filePath,$delimiter)
new ExcelToCsv($file,$filePath,$delimiter,$savepath)
Basic Usage
require_once('vendor\autoload.php');
use thecodeisbae\ExcelToCsv\ExcelToCsv;
$convert = new ExcelToCsv('sample.xlsx','sample.xlsx');
if($convert->convertExcelToCsv())
echo 'Convertion is ended please check for the root of the project to see files :)';
else
echo 'An error occured check your file extension or your filePath';