PHP Library to export data in various spreadsheet formats like ODS, CSV, TSV ...
SpreadsheetExport is a PHP library which allows you to export spreadsheet data in various formats while only writing code once. Currently supported are
- OpenDocument Spreadsheet (.ods)
- Comma Separated Values (.csv)
- Tab Separated Values (.tsv)
The most flexible installation method is using Composer: Simply create a composer.json file in the root of your project:
{
"require": {
"fusonic/spreadsheetexport": "@dev"
}
}
Install composer and run install command:
curl -s http://getcomposer.org/installer | php
php composer.phar install
Once installed, include vendor/autoload.php in your script.
require "vendor/autoload.php";
This library is licensed under the MIT license.