PHPackages                             secit-pl/simple-excel-export - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. secit-pl/simple-excel-export

ActiveLibrary[File &amp; Storage](/categories/file-storage)

secit-pl/simple-excel-export
============================

Simple Excel exporter

2.2.0(1mo ago)12.4k↓33.3%MITPHPPHP &gt;=7.1CI failing

Since Nov 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/secit-pl/simple-excel-export)[ Packagist](https://packagist.org/packages/secit-pl/simple-excel-export)[ RSS](/packages/secit-pl-simple-excel-export/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (14)Used By (0)

Simple Excel exporter
=====================

[](#simple-excel-exporter)

Simple library which allows to quickly create MS Excel exports.

Key features:

- Simple
- Multi sheet support
- Values can be accessed by the [PropertyAccess Component](https://symfony.com/doc/current/components/property_access.html) or [PHP callback](https://www.php.net/manual/en/language.types.callable.php).
- XLS, XLSX and CSV support (by passing the second argument while creating a new \\SecIT\\SimpleExcelExport\\Excel obejct)
- Symfony 4+ compatible (getResponse() returns valid [Symfony Response](https://symfony.com/doc/current/components/http_foundation.html#response))

Security warning
----------------

[](#security-warning)

Caution

The PHPOffice/PhpSpreadsheet library used by this bundle has a serious security vulnerability in versions &lt;2.2.1. Please update this bundle as soon as possible to version 2.0.0 or grater, which allows to install only the secured version of PHPOffice/PhpSpreadsheet. More details can be found here

Installation
------------

[](#installation)

From the command line run

```
$ composer require secit-pl/simple-excel-export

```

Usage
-----

[](#usage)

### Basic example

[](#basic-example)

#### Send Excel file as response to user

[](#send-excel-file-as-response-to-user)

```
