This script can convert amount of CSV files into XLSX. Based on PhpSpreadsheet.
- Clone this repository;
- Run
composer install
.
- Put your CSV files into directory named
in
located in this repository; - Run
php convert.php
; - Wait till the end;
- Grab XLSX files from
out
directory.
By default, script setting up a 4G
memory limit for itself. You can increase (or decrease) it by your needs.
Script uses file cache.
Script uses following packages:
- PhpSpreadsheet - main dependency for working with spreadsheets;
- file-cache - cache package that follows a PSR 16 standard.