Download the PHP package firano/excelbundle without Composer
On this page you can find all versions of the php package firano/excelbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package excelbundle
Symfony2 Excel bundle
This bundle permits you to create an easily modifiable excel object. This is just a dependency injection that links
3 Objects:
-
The container in this bundle,
-
The StreamWrapper in the n3bStreamresponse
- A Writer.
You could create your own writer extending n3b\Bundle\Util\HttpFoundation\StreamResponse\StreamWriterInterface
or you could use the great PHPExcel library. With PHPExcel you can create xls, ods, pdf and more.
You have to know that csv is faster so I encourage you to use the built-in function for csv: http://it.php.net/manual-lookup.php?pattern=csv&lang=en&scope=quickref
Migration
In order to follow the naming convention https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md all the liuggio namespaces are migrated to Liuggio.
This master is up-to-date to the symfony/symfony master actually on 2.1
INSTALLATION with COMPOSER
1 Add to composer.json to the require
key
2 Register the bundle in app/AppKernel.php
INSTALLATION with deps file
1 Add to the following to your deps
file, then run php bin/vendors install
2 Register the namespaces and prefixes in app/autoload.php
:
3 Enable the bundle in app/AppKernel.php
AVAILABLE SERVICES
If you want to write
If you want to read xls
USAGE
Create a controller in your bundle
With the right writer (e.g. PHPExcel_Writer_Excel5) you could also write the output to a file:
ADVANCED USE
If you need to, see and modify Liuggio\ExcelBundle\Resources\config\services.yml
Contributors
@pivasyk
@dirkbl
@DerStoffel
@artturi
@isqad88
@mazenovi
@jochenhilgers
@Squazic
All versions of excelbundle with dependencies
symfony/framework-bundle Version 2.*
irongit/symfony2-stream-response Version >=1.0
phpoffice/phpexcel Version 1.7.9