stev/spout-bundle

Symfony 4/5 Bundle for box spout excel library v3

Installs: 22 221

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 2

Open Issues: 0

Type:symfony-bundle

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

This package is auto-updated.

Last update: 2024-12-06 00:51:30 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