vincet/phpexcel-exporter

dev-master 2014-04-02 20:50 UTC

This package is auto-updated.

Last update: 2021-07-29 01:34:54 UTC


README

Scrutinizer Code Quality Code Coverage Build Status

Provide a SourceIterator and a Writer for Excel files for sonata-project/exporter

Installation

You can use this source with composer:

{
    "require": {
        "sonata-project/exporter": "dev-master",
        "phpoffice/phpexcel": "dev-master",
        "vincet/phpexcel-exporter": "dev-master"
    },
}

This library does not require a specific version of sonata-project/exporter or phpoffice/phpexcel so you can use whatever version you want.

Usage

$source = new VinceT\PHPExcelExporter\Source\PHPExcelSourceIterator(__DIR__.'/file.xlsx');

foreach ($source as $data) {
    ...
}