stev/spout-bundle

Symfony 4/5 Bundle for box spout excel library v3

Installs: 22 216

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 3

Open Issues: 0

Type:symfony-bundle

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

This package is auto-updated.

Last update: 2024-04-05 23:22:28 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