Download the PHP package liuggio/excelbundle without Composer
On this page you can find all versions of the php package liuggio/excelbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
All versions of excelbundle with dependencies
Informations about the package excelbundle
Symfony2 Excel bundle
This bundle permits you to create, modify and read excel objects.
This is the shiny new version. There is a big BC with the 1.* version, but unit tests, functional tests, and the new factory is very simple to use.
Things to know:
CSV is faster so if you have to create simple xls file, I encourage you to use the built-in function for csv: http://php.net/manual-lookup.php?pattern=csv&lang=en&scope=quickref
1 Add to composer.json to the
2 Register the bundle in
Create an empty object:
Create an object from a file:
Create a Excel5 and write to a file given the object:
Create a Excel5 and create a StreamedResponse:
- Create a Excel file with an image:
Not Only 'Excel5'
The list of the types are:
The best place to start is the fake Controller at
Tests/app/Controller/FakeController.php, that is a working example.
You could find a lot of examples in the official PHPExcel repository https://github.com/PHPOffice/PHPExcel/tree/develop/Examples
For lazy devs
- fork the project
- clone the repo
- get the coding standard fixer:
- before the PullRequest you should run the coding standard fixer with
php php-cs-fixer.phar fix -v .