/SpreadsheetBundle

Symfony Spreadsheet integration with https://github.com/PHPOffice/PHPSpreadsheet library

Primary LanguagePHPMIT LicenseMIT

SpreadsheetBundle

This is a Symfony 3 to 7 Bundle helps you to read and write Spreadsheet files (including pdf, xls, xlsx, odt, csv), thanks to the PHPSpreadsheet library.

Total Downloads Latest Stable Version Latest Unstable Version

Supported formats

The supported formats are sames of PhpSpreadsheet (Open Document .ods, Office Excel .xlsx, BIFF 8 .xls, CSV, PDF).

Installation

1 Add to composer.json to the require key

    composer require roromix/spreadsheetbundle

2 Register the bundle :

Symfony standard installation : app/AppKernel.php

    $bundles = array(
        // ...
        new Roromix\Bundle\SpreadsheetBundle\RoromixSpreadsheetBundle(),
    );

Symfony Flex installation (normaly, it's auto-generated) : config/bundles.php

    return [
        // ...
        Roromix\Bundle\SpreadsheetBundle\RoromixSpreadsheetBundle::class => ['all' => true],
    ];

License

This bundle is under the MIT license. See the complete license in the bundle:

License