PHPackages                             pxlrbt/filament-excel - 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. pxlrbt/filament-excel

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

pxlrbt/filament-excel
=====================

Supercharged Excel exports for Filament Resources

v3.6.1(2mo ago)4502.1M—8.8%96[5 issues](https://github.com/pxlrbt/filament-excel/issues)15MITPHPPHP ^8.1CI passing

Since Feb 18Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/pxlrbt/filament-excel)[ Packagist](https://packagist.org/packages/pxlrbt/filament-excel)[ GitHub Sponsors](https://github.com/pxlrbt)[ RSS](/packages/pxlrbt-filament-excel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (99)Used By (15)Security (1)

[![header](./.github/resources/pxlrbt-excel.png)](./.github/resources/pxlrbt-excel.png)

Filament Excel
==============

[](#filament-excel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fb1f40bc6b390cb381f828310dc2f0ec59a6dbe76a4b76003d26eb216c3ea54f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70786c7262742f66696c616d656e742d657863656c2e7376673f696e636c7564655f70726572656c6561736573)](https://packagist.org/packages/pxlrbt/filament-excel)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![GitHub Workflow Status](https://camo.githubusercontent.com/519fc45bbcf4d3c267a086c4ae3db17234e084dd35168bde3b165146f2d69656/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70786c7262742f66696c616d656e742d657863656c2f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d436f64652532307374796c65267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/519fc45bbcf4d3c267a086c4ae3db17234e084dd35168bde3b165146f2d69656/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70786c7262742f66696c616d656e742d657863656c2f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d436f64652532307374796c65267374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/9350582a3be54b64f9d160df92d70c72e8ff2b51b32081435273dd34f11faa9f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70786c7262742f66696c616d656e742d657863656c2e737667)](https://packagist.org/packages/pxlrbt/filament-excel)

Easily configure your Excel exports in Filament via a bulk or page action.

    demo.mp4

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

[](#installation)

Install via Composer. This will download the package and [Laravel Excel](https://laravel-excel.com/).

Plugin VersionFilament VersionPHP Version1.x2.x&gt; 8.02.x3.x&gt; 8.13.x4.x, 5.x&gt; 8.1```
composer require pxlrbt/filament-excel
```

### Upgrading to Filament v4

[](#upgrading-to-filament-v4)

- `composer require pxlrbt/filament-excel:3.0`
- The Action classes were simplified into a single `ExportBulkAction` and `ExportAction` for pages and tables

### Laravel &gt; 9

[](#laravel--9)

If composer require fails on Laravel 9 or greater because of the simple-cache dependency, you will have to specify the psr/simple-cache version as ^2.0 in your composer.json to satisfy the PhpSpreadsheet dependency. You can install both at the same time as:

```
composer require psr/simple-cache:^2.0 pxlrbt/filament-excel
```

Quickstart
----------

[](#quickstart)

Starting with v0.2 Filament Excel should work with both `filament/filament` and `filament/tables` packages. The most simple usage is just adding `ExportBulkAction` to your bulk actions.

**Example for admin package**

```
