Download the PHP package akeneo-labs/spreadsheet-parser-bundle without Composer
On this page you can find all versions of the php package akeneo-labs/spreadsheet-parser-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download akeneo-labs/spreadsheet-parser-bundle
More information about akeneo-labs/spreadsheet-parser-bundle
Files in akeneo-labs/spreadsheet-parser-bundle
Download akeneo-labs/spreadsheet-parser-bundle
More information about akeneo-labs/spreadsheet-parser-bundle
Files in akeneo-labs/spreadsheet-parser-bundle
Vendor akeneo-labs
Package spreadsheet-parser-bundle
Short Description Akeneo spreadsheet parser bundle
License OSL-3.0
Homepage http://akeneo.com
Package spreadsheet-parser-bundle
Short Description Akeneo spreadsheet parser bundle
License OSL-3.0
Homepage http://akeneo.com
Please rate this library. Is it a good library?
Informations about the package spreadsheet-parser-bundle
Akeneo Spreadsheet Parser Bundle
This component is designed to extract data from spreadsheets, while being easy on resources, even for large files.
The actual version of the spreadsheet parser only works with xlsx files.
Installing the bundle
From your application root:
$ php composer.phar require --prefer-dist "akeneo-labs/spreadsheet-parser-bundle"
You will then have to add the bundle to your AppKernel :
$bundles[] = new Akeneo\Bundle\SpreadsheetParserBundle\AkeneoSpreadsheetParserBundle();
Usage
To extract data from a spreadsheet, use the following code:
<?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);
}
}
[...]
}
All versions of spreadsheet-parser-bundle with dependencies
PHP Build Version
Package Version
The package akeneo-labs/spreadsheet-parser-bundle contains the following files
Loading the files please wait ....