stev/spout-bundle

Symfony 4/5 Bundle for box spout excel library v3

Installs: 21 884

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 3

Open Issues: 1

Type:symfony-bundle

v1.1 2020-09-10 08:10 UTC

This package is auto-updated.

Last update: 2021-10-05 17:50:42 UTC


README

Symfony 2 Bundle for Box Spout excel library

1. Installation:


composer require stev/spout-bundle

Add this in app/AppKernel.php


new \Stev\SpoutBundle\StevSpoutBundle()

2. Usage, in a controller


/* @var spout \Stev\SpoutBundle\Services\Spout */
    $spout = $this->get('stev_spout.box_spout');
    $reader = $spout->initReader();
    $writer = $spout->initWriter();

Box Spout repository can be found at https://github.com/box/spout