zkelo / csv_to_xlsx

An easy-to-use CSV to XLSX converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSV to XLSX

This script can convert amount of CSV files into XLSX. Based on PhpSpreadsheet.

Installation

  1. Clone this repository;
  2. Run composer install.

Usage

  1. Put your CSV files into directory named in located in this repository;
  2. Run php convert.php;
  3. Wait till the end;
  4. Grab XLSX files from out directory.

RAM usage

By default, script setting up a 4G memory limit for itself. You can increase (or decrease) it by your needs.

Caching

Script uses file cache.

Third party packages

Script uses following packages:

  • PhpSpreadsheet - main dependency for working with spreadsheets;
  • file-cache - cache package that follows a PSR 16 standard.

About

An easy-to-use CSV to XLSX converter

License:MIT License


Languages

Language:PHP 100.0%