2017 © Pedro PelĆ”ez
 

library spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

image

rafaelmaza/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  • Thursday, February 16, 2017
  • by gragonmau
  • Repository
  • 1 Watchers
  • 0 Stars
  • 98 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 265 Forks
  • 0 Open issues
  • 32 Versions
  • 128 % Grown

The README.md

Spout

Latest Stable Version Project Status Build Status Scrutinizer Code Quality Code Coverage Total Downloads, (*1)

Spout is a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way. Contrary to other file readers or writers, it is capable of processing very large files while keeping the memory usage really low (less than 3MB)., (*2)

Join the community and come discuss about Spout: Gitter, (*3)

Installation

Spout can be installed directly from Composer., (*4)

Run the following command:, (*5)

$ composer require box/spout

Manual installation

If you can't use Composer, no worries! You can still install Spout manually., (*6)

Before starting, make sure your system meets the requirements., (*7)

  1. Download the source code from the Releases page
  2. Extract the downloaded content into your project.
  3. Add this code to the top controller (index.php) or wherever it may be more appropriate:
require_once '[PATH/TO]/src/Spout/Autoloader/autoload.php'; // don't forget to change the path!

Requirements

  • PHP version 5.4.0 or higher
  • PHP extension php_zip enabled
  • PHP extension php_xmlreader enabled
  • PHP extension php_simplexml enabled

Basic usage

Reader

Regardless of the file type, the interface to read a file is always the same:, (*8)

use Box\Spout\Reader\ReaderFactory;
use Box\Spout\Common\Type;

$reader = ReaderFactory::create(Type::XLSX); // for XLSX files
//$reader = ReaderFactory::create(Type::CSV); // for CSV files
//$reader = ReaderFactory::create(Type::ODS); // for ODS files

$reader->open($filePath);

foreach ($reader->getSheetIterator() as $sheet) {
    foreach ($sheet->getRowIterator() as $row) {
        // do stuff with the row
    }
}

$reader->close();

If there are multiple sheets in the file, the reader will read all of them sequentially., (*9)

Writer

As with the reader, there is one common interface to write data to a file:, (*10)

use Box\Spout\Writer\WriterFactory;
use Box\Spout\Common\Type;

$writer = WriterFactory::create(Type::XLSX); // for XLSX files
//$writer = WriterFactory::create(Type::CSV); // for CSV files
//$writer = WriterFactory::create(Type::ODS); // for ODS files

$writer->openToFile($filePath); // write data to a file or to a PHP stream
//$writer->openToBrowser($fileName); // stream data directly to the browser

$writer->addRow($singleRow); // add a row at a time
$writer->addRows($multipleRows); // add multiple rows at a time

$writer->close();

For XLSX and ODS files, the number of rows per sheet is limited to 1,048,576. By default, once this limit is reached, the writer will automatically create a new sheet and continue writing data into it., (*11)

Advanced usage

If you are looking for how to perform some common, more advanced tasks with Spout, please take a look at the Wiki. It contains code snippets, ready to be used., (*12)

Configuring the CSV reader and writer

It is possible to configure both the CSV reader and writer to specify the field separator as well as the field enclosure:, (*13)

use Box\Spout\Reader\ReaderFactory;
use Box\Spout\Common\Type;

$reader = ReaderFactory::create(Type::CSV);
$reader->setFieldDelimiter('|');
$reader->setFieldEnclosure('@');
$reader->setEndOfLineCharacter("\r");

Additionally, if you need to read non UTF-8 files, you can specify the encoding of your file this way:, (*14)

$reader->setEncoding('UTF-16LE');

By default, the writer generates CSV files encoded in UTF-8, with a BOM. It is however possible to not include the BOM:, (*15)

use Box\Spout\Writer\WriterFactory;
use Box\Spout\Common\Type;

$writer = WriterFactory::create(Type::CSV);
$writer->setShouldAddBOM(false);

Configuring the XLSX and ODS readers and writers

Row styling

It is possible to apply some formatting options to a row. Spout supports fonts, background, borders as well as alignment styles., (*16)

use Box\Spout\Common\Type;
use Box\Spout\Writer\WriterFactory;
use Box\Spout\Writer\Style\StyleBuilder;
use Box\Spout\Writer\Style\Color;

$style = (new StyleBuilder())
           ->setFontBold()
           ->setFontSize(15)
           ->setFontColor(Color::BLUE)
           ->setShouldWrapText()
           ->setBackgroundColor(Color::YELLOW)
           ->build();

$writer = WriterFactory::create(Type::XLSX);
$writer->openToFile($filePath);

$writer->addRowWithStyle($singleRow, $style); // style will only be applied to this row
$writer->addRow($otherSingleRow); // no style will be applied
$writer->addRowsWithStyle($multipleRows, $style); // style will be applied to all given rows

$writer->close();

Adding borders to a row requires a Border object., (*17)

use Box\Spout\Common\Type;
use Box\Spout\Writer\Style\Border;
use Box\Spout\Writer\Style\BorderBuilder;
use Box\Spout\Writer\Style\Color;
use Box\Spout\Writer\Style\StyleBuilder;
use Box\Spout\Writer\WriterFactory;

$border = (new BorderBuilder())
    ->setBorderBottom(Color::GREEN, Border::WIDTH_THIN, Border::STYLE_DASHED)
    ->build();

$style = (new StyleBuilder())
    ->setBorder($border)
    ->build();

$writer = WriterFactory::create(Type::XLSX);
$writer->openToFile($filePath);

$writer->addRowWithStyle(['Border Bottom Green Thin Dashed'], $style);

$writer->close();

Spout will use a default style for all created rows. This style can be overridden this way:, (*18)

$defaultStyle = (new StyleBuilder())
                ->setFontName('Arial')
                ->setFontSize(11)
                ->build();

$writer = WriterFactory::create(Type::XLSX);
$writer->setDefaultRowStyle($defaultStyle)
       ->openToFile($filePath);

Unfortunately, Spout does not support all the possible formatting options yet. But you can find the most important ones:, (*19)

Category Property API
Font Bold StyleBuilder::setFontBold()
Italic StyleBuilder::setFontItalic()
Underline StyleBuilder::setFontUnderline()
Strikethrough StyleBuilder::setFontStrikethrough()
Font name StyleBuilder::setFontName('Arial')
Font size StyleBuilder::setFontSize(14)
Font color StyleBuilder::setFontColor(Color::BLUE)
StyleBuilder::setFontColor(Color::rgb(0, 128, 255))
Alignment Wrap text StyleBuilder::setShouldWrapText(true|false)

New sheet creation

It is also possible to change the behavior of the writer when the maximum number of rows (1,048,576) have been written in the current sheet:, (*20)

use Box\Spout\Writer\WriterFactory;
use Box\Spout\Common\Type;

$writer = WriterFactory::create(Type::ODS);
$writer->setShouldCreateNewSheetsAutomatically(true); // default value
$writer->setShouldCreateNewSheetsAutomatically(false); // will stop writing new data when limit is reached

Using custom temporary folder

Processing XLSX and ODS files require temporary files to be created. By default, Spout will use the system default temporary folder (as returned by sys_get_temp_dir()). It is possible to override this by explicitly setting it on the reader or writer:, (*21)

use Box\Spout\Writer\WriterFactory;
use Box\Spout\Common\Type;

$writer = WriterFactory::create(Type::XLSX);
$writer->setTempFolder($customTempFolderPath);

Strings storage (XLSX writer)

XLSX files support different ways to store the string values: * Shared strings are meant to optimize file size by separating strings from the sheet representation and ignoring strings duplicates (if a string is used three times, only one string will be stored) * Inline strings are less optimized (as duplicate strings are all stored) but is faster to process, (*22)

In order to keep the memory usage really low, Spout does not optimize strings when using shared strings. It is nevertheless possible to use this mode., (*23)

use Box\Spout\Writer\WriterFactory;
use Box\Spout\Common\Type;

$writer = WriterFactory::create(Type::XLSX);
$writer->setShouldUseInlineStrings(true); // default (and recommended) value
$writer->setShouldUseInlineStrings(false); // will use shared strings
Note on Apple Numbers and iOS support

Apple's products (Numbers and the iOS previewer) don't support inline strings and display empty cells instead. Therefore, if these platforms need to be supported, make sure to use shared strings!, (*24)

Date/Time formatting

When reading a spreadsheet containing dates or times, Spout returns the values by default as DateTime objects. It is possible to change this behavior and have a formatted date returned instead (e.g. "2016-11-29 1:22 AM"). The format of the date corresponds to what is specified in the spreadsheet., (*25)

use Box\Spout\Reader\ReaderFactory;
use Box\Spout\Common\Type;

$reader = ReaderFactory::create(Type::XLSX);
$reader->setShouldFormatDates(false); // default value
$reader->setShouldFormatDates(true); // will return formatted dates

Playing with sheets

When creating a XLSX or ODS file, it is possible to control which sheet the data will be written into. At any time, you can retrieve or set the current sheet:, (*26)

$firstSheet = $writer->getCurrentSheet();
$writer->addRow($rowForSheet1); // writes the row to the first sheet

$newSheet = $writer->addNewSheetAndMakeItCurrent();
$writer->addRow($rowForSheet2); // writes the row to the new sheet

$writer->setCurrentSheet($firstSheet);
$writer->addRow($anotherRowForSheet1); // append the row to the first sheet

It is also possible to retrieve all the sheets currently created:, (*27)

$sheets = $writer->getSheets();

If you rely on the sheet's name in your application, you can access it and customize it this way:, (*28)

// Accessing the sheet name when reading
foreach ($reader->getSheetIterator() as $sheet) {
    $sheetName = $sheet->getName();
}

// Accessing the sheet name when writing
$sheet = $writer->getCurrentSheet();
$sheetName = $sheet->getName();

// Customizing the sheet name when writing
$sheet = $writer->getCurrentSheet();
$sheet->setName('My custom name');

Please note that Excel has some restrictions on the sheet's name: * it must not be blank * it must not exceed 31 characters * it must not contain these characters: \ / ? * : [ or ] * it must not start or end with a single quote * it must be unique, (*29)

Handling these restrictions is the developer's responsibility. Spout does not try to automatically change the sheet's name, as one may rely on this name to be exactly what was passed in., (*30)

Fluent interface

Because fluent interfaces are great, you can use them with Spout:, (*31)

use Box\Spout\Writer\WriterFactory;
use Box\Spout\Common\Type;

$writer = WriterFactory::create(Type::XLSX);
$writer->setTempFolder($customTempFolderPath)
       ->setShouldUseInlineStrings(true)
       ->openToFile($filePath)
       ->addRow($headerRow)
       ->addRows($dataRows)
       ->close();

Running tests

On the master branch, only unit and functional tests are included. The performance tests require very large files and have been excluded. If you just want to check that everything is working as expected, executing the tests of the master branch is enough., (*32)

If you want to run performance tests, you will need to checkout the perf-tests branch. Multiple test suites can then be run, depending on the expected output:, (*33)

  • phpunit - runs the whole test suite (unit + functional + performance tests)
  • phpunit --exclude-group perf-tests - only runs the unit and functional tests
  • phpunit --group perf-tests - only runs the performance tests

For information, the performance tests take about 30 minutes to run (processing 1 million rows files is not a quick thing)., (*34)

Performance tests status: Build Status, (*35)

Frequently Asked Questions

How can Spout handle such large data sets and still use less than 3MB of memory?

When writing data, Spout is streaming the data to files, one or few lines at a time. That means that it only keeps in memory the few rows that it needs to write. Once written, the memory is freed., (*36)

Same goes with reading. Only one row at a time is stored in memory. A special technique is used to handle shared strings in XLSX, storing them - if needed - into several small temporary files that allows fast access., (*37)

How long does it take to generate a file with X rows?

Here are a few numbers regarding the performance of Spout:, (*38)

Type Action 2,000 rows (6,000 cells) 200,000 rows (600,000 cells) 2,000,000 rows (6,000,000 cells)
CSV Read < 1 second 4 seconds 2-3 minutes
Write < 1 second 2 seconds 2-3 minutes
XLSX Read
inlineĀ strings
< 1 second 35-40 seconds 18-20 minutes
Read
sharedĀ strings
1 second 1-2 minutes 35-40 minutes
Write 1 second 20-25 seconds 8-10 minutes
ODS Read 1 second 1-2 minutes 5-6 minutes
Write < 1 second 35-40 seconds 5-6 minutes

Does Spout support charts or formulas?

No. This is a compromise to keep memory usage low. Charts and formulas requires data to be kept in memory in order to be used. So the larger the file would be, the more memory would be consumed, preventing your code to scale well., (*39)

Support

Need to contact us directly? Email oss@box.com and be sure to include the name of this project in the subject., (*40)

You can also ask questions, submit new features ideas or discuss about Spout in the chat room:
Gitter, (*41)

Copyright 2015 Box, Inc. All rights reserved., (*42)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at, (*43)

http://www.apache.org/licenses/LICENSE-2.0, (*44)

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License., (*45)

The Versions

16/02 2017

dev-master

9999999-dev https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

16/02 2017

v2.7.2

2.7.2.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

29/11 2016

dev-perf-tests

dev-perf-tests https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

03/11 2016

v2.7.1

2.7.1.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

19/10 2016

v2.7.0

2.7.0.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

08/09 2016

v2.6.0

2.6.0.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

11/07 2016

v2.5.0

2.5.0.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

12/04 2016

v2.4.4

2.4.4.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

24/03 2016

v2.4.3

2.4.3.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

14/02 2016

v2.4.2

2.4.2.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

14/01 2016

v2.4.1

2.4.1.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

21/12 2015

v2.4.0

2.4.0.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

06/11 2015

v2.3.2

2.3.2.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

15/10 2015

v2.3.1

2.3.1.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

02/09 2015

v2.3.0

2.3.0.0 https://www.github.com/box/spout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale open ods office odf ooxml

23/08 2015

v2.2.0

2.2.0.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

14/08 2015

v2.1.0

2.1.0.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

29/07 2015

v2.0.1

2.0.1.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

28/07 2015

v2.0.0

2.0.0.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

14/07 2015

v1.1.0

1.1.0.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

06/07 2015

v1.0.11

1.0.11.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

03/06 2015

v1.0.10

1.0.10.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

29/05 2015

1.0.9

1.0.9.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

13/05 2015

1.0.8

1.0.8.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

29/04 2015

1.0.7

1.0.7.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

29/04 2015

1.0.6

1.0.6.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

17/04 2015

1.0.5

1.0.5.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

16/04 2015

1.0.4

1.0.4.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

15/04 2015

1.0.3

1.0.3.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

04/04 2015

1.0.2

1.0.2.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

27/01 2015

1.0.1

1.0.1.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml

16/01 2015

1.0.0

1.0.0.0 https://www.github.com/box/spout

PHP Library to read and write CSV and XLSX files, in a fast and scalable way

  Sources   Download

Apache-2.0

The Requires

  • ext-simplexml *
  • ext-xmlreader *
  • ext-zip *
  • php >=5.4.0

 

The Development Requires

by Adrien Loison

csv read write php excel spreadsheet xlsx memory stream scale ooxml