stev / spout-bundle
Symfony 4/5 Bundle for box spout excel library v3
Installs: 22 218
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.1
- box/spout: ^3.1
- symfony/framework-bundle: 4.*||5.*
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