PHPackages                             lab36/excel-report - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. lab36/excel-report

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

lab36/excel-report
==================

Customizable Excel reports in Laravel

1.0.10(5y ago)0281MITPHPPHP &gt;=7.1CI failing

Since Sep 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lab36/excel-report)[ Packagist](https://packagist.org/packages/lab36/excel-report)[ RSS](/packages/lab36-excel-report/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (4)Versions (11)Used By (0)

ExcelReport
===========

[](#excelreport)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9ada962a27843e972738f2aa65cfe46c96d488f0bb22eb05331e54fefc3956c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c616233362f657863656c2d7265706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lab36/excel-report)[![Total Downloads](https://camo.githubusercontent.com/f9ed40f559c9d1f414263a25b133df6e9dcf64355381c40b841058860c7666a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c616233362f657863656c2d7265706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lab36/excel-report)

This package allows you to generate Microsoft Excel files from any collection or array. You can easily apply formatting, styles or themes. It comes bundled with beautiful themes ready to use.

This php library is a wrapper around [PhpSpreadsheet](https://phpspreadsheet.readthedocs.io/en/latest/) library.

Motivation
----------

[](#motivation)

We needed to export beautiful excel reports and with as little boilerplate as possible. PhpSpreadsheet does a good job working with excel files and we needed something on top just to avoid the repetitive work.

✨ Features
----------

[](#-features)

- **Easily export collection/array to Excel.** Take your Laravel collection/array and export them directly to an Excel document.
- **Beautiful themes ready to go.** Beautiful templates easy customizable already prepared for you.
- **Customize any cell.** Hooks to easily customize any cell based on values or coordinates.

Basic Usage
-----------

[](#basic-usage)

```
composer require excel-report/excel-report
```

Just create a file in anywhere in your app folder or use an artisan command:

```
php artisan excel:report ProjectDetailsExcelReport
```

This by default will create the file ProjectDetailsExcelReport.php with folder app\\ExcelReport.

```
