PHPackages                             ang3/php-excel-encoder - 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. ang3/php-excel-encoder

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

ang3/php-excel-encoder
======================

PHP Excel encoder

v3.0.1(3y ago)983.5k↓42.9%8[3 PRs](https://github.com/Ang3/php-excel-encoder/pulls)MITPHPPHP &gt;=8.1

Since Dec 13Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Ang3/php-excel-encoder)[ Packagist](https://packagist.org/packages/ang3/php-excel-encoder)[ Docs](https://github.com/Ang3/php-excel-encoder)[ RSS](/packages/ang3-php-excel-encoder/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (7)Dependencies (4)Versions (10)Used By (0)

PHP Excel encoder
=================

[](#php-excel-encoder)

[![Code Quality](https://github.com/Ang3/php-excel-encoder/actions/workflows/php_lint.yml/badge.svg)](https://github.com/Ang3/php-excel-encoder/actions/workflows/php_lint.yml)[![PHPUnit Tests](https://github.com/Ang3/php-excel-encoder/actions/workflows/phpunit.yml/badge.svg)](https://github.com/Ang3/php-excel-encoder/actions/workflows/phpunit.yml)[![Symfony Integration](https://github.com/Ang3/php-excel-encoder/actions/workflows/symfony.yml/badge.svg)](https://github.com/Ang3/php-excel-encoder/actions/workflows/symfony.yml)[![Latest Stable Version](https://camo.githubusercontent.com/30f5c878b89b0c496e560ac48ef67b157d111982c77d914718dcf15a6569cbba/68747470733a2f2f706f7365722e707567782e6f72672f616e67332f7068702d657863656c2d656e636f6465722f762f737461626c65)](https://packagist.org/packages/ang3/php-excel-encoder)[![Total Downloads](https://camo.githubusercontent.com/e6b92f2ec4a470ee5ae0c0e15c9e412ba8bdbf9c233ba55ccea72e53a74297cb/68747470733a2f2f706f7365722e707567782e6f72672f616e67332f7068702d657863656c2d656e636f6465722f646f776e6c6f616473)](https://packagist.org/packages/ang3/php-excel-encoder)

Encode and decode xls/xlsx files and more thanks to the component [phpoffice/phpspreadsheet](https://phpspreadsheet.readthedocs.io/en/latest/).

Also, this component uses the component Serializer from package [`symfony/serializer`](https://packagist.org/packages/symfony/serializer) - Please read the [documentation](https://symfony.com/doc/current/components/serializer.html) for more information about serializer usage.

Summary
-------

[](#summary)

- [Installation](#installation)
- [Upgrade](#upgrade)
- [Usage](#usage)
- [Symfony integration](#symfony-integration)
- [Run tests](#run-tests)

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

[](#installation)

Open a command console and execute the following command to download the latest stable version of this bundle:

```
composer require ang3/php-excel-encoder
```

If you install this component outside of a Symfony application, you must require the vendor/autoload.php file in your code to enable the class autoloading mechanism provided by Composer. Read [this article](https://symfony.com/doc/current/components/using_components.html) for more details.

Upgrade
-------

[](#upgrade)

To upgrade from 1.x to 2.x or from 2.x to 3.x, please read the file [UPGRADE-2.0.md](/UPGRADE-2.0.md).

Usage
-----

[](#usage)

### Create encoder

[](#create-encoder)

```
