2017 © Pedro Peláez
 

symfony-bundle spreadsheet-parser-bundle

Akeneo spreadsheet parser bundle

image

akeneo-labs/spreadsheet-parser-bundle

Akeneo spreadsheet parser bundle

  • Saturday, April 2, 2016
  • by Akeneo
  • Repository
  • 22 Watchers
  • 3 Stars
  • 7,282 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

Akeneo Spreadsheet Parser Bundle

This component is designed to extract data from spreadsheets, while being easy on resources, even for large files., (*1)

The actual version of the spreadsheet parser only works with xlsx files., (*2)

Installing the bundle

From your application root:, (*3)

$ php composer.phar require --prefer-dist "akeneo-labs/spreadsheet-parser-bundle"

You will then have to add the bundle to your AppKernel :, (*4)

$bundles[] = new Akeneo\Bundle\SpreadsheetParserBundle\AkeneoSpreadsheetParserBundle();

Usage

To extract data from a spreadsheet, use the following code:, (*5)

<?php

[...]

class MyService implements ContainerAwareInterface
{
    public method readSpreadsheet()
    {
        $loader = $this->container->get('akeneo_spreadsheet_parser.spreadsheet_loader');
        $spreadsheet = $loader->open('myfile.xlsx');

        $myWorksheetIndex = $spreadsheet->getWorksheetIndex('myworksheet');

        foreach ($spreadsheet->createRowIterator($myWorksheetIndex) as $rowIndex => $values) {
            var_dump($rowIndex, $values);
        }
    }

    [...]
}

The Versions

02/04 2016

dev-master

9999999-dev http://akeneo.com

Akeneo spreadsheet parser bundle

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

by JM Leroux

parser excel spreadsheet xlsx akeneo reader

05/10 2015

v1.1.2

1.1.2.0 http://akeneo.com

Akeneo spreadsheet parser bundle

  Sources   Download

OSL-3.0

The Requires

 

parser excel spreadsheet xlsx akeneo reader

15/06 2014

v1.1.1

1.1.1.0 http://akeneo.com

Akeneo spreadsheet parser bundle

  Sources   Download

OSL-3.0

The Requires

 

parser excel spreadsheet xlsx akeneo reader

09/06 2014

v1.1.0

1.1.0.0 http://akeneo.com

Akeneo spreadsheet parser bundle

  Sources   Download

OSL-3.0

The Requires

 

parser excel spreadsheet xlsx akeneo reader

23/05 2014

v1.0.0

1.0.0.0 http://akeneo.com

Akeneo spreadsheet parser bundle

  Sources   Download

OSL-3.0

The Requires

 

parser excel spreadsheet xlsx akeneo reader