Download the PHP package occtherapist/advanced-table-export-for-filament without Composer

On this page you can find all versions of the php package occtherapist/advanced-table-export-for-filament. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package advanced-table-export-for-filament

Advanced Table Export for Filament

Latest Version on Packagist Total Downloads PHP Version

Export and print Filament admin tables in seconds — CSV, XLSX, PDF, JSON, XML, and clipboard with column selection, preview, and flexible PDF drivers.

Built for Filament v4 and v5 on Laravel 11, 12, and 13. A modern, actively maintained successor to the export workflow many teams relied on with alperenersoy/filament-export.


Why this package?

Need This package
Export filtered, sorted, searched table data (not just selected rows) Header action exports the current table query
Export only selected rows Bulk action for row selection
CSV, XLSX, PDF, JSON, XML, clipboard from one modal or quick menu Modal action or quick ActionGroup
Choose columns before export Built-in column filter in the export modal
PDF with portrait or landscape Configurable orientation per export
Multiple PDF backends Sidecar, Browsershot, Dompdf, or null driver
Filament v4/v5 without waiting on upstream First-class support from day one
German & English UI Translations included

Filament's native export action is powerful for queued, notification-based exports with custom exporter classes. This package targets teams that want a lightweight, modal-based export directly from the table — similar to filament-export, but updated for current Filament APIs.


Features


Requirements

Optional (pick one PDF stack):

Driver Packages
sidecar spatie/laravel-pdf, wnx/sidecar-browsershot
browsershot spatie/laravel-pdf, spatie/browsershot
dompdf dompdf/dompdf
null No PDF dependencies (default)

Spreadsheet exports use OpenSpout (included).


Installation

Register the plugin in your panel provider (e.g. app/Providers/Filament/AdminPanelProvider.php):

Add the actions to any table:

TableExportHeaderAction exports the filtered, sorted, and searched table query. TableExportBulkAction exports only the selected rows. Use withColumns() to include extra model columns that are not visible in the table.

Publish the config (optional):

Publish Blade views for PDF and preview customization (optional):

This copies templates to resources/views/vendor/advanced-table-export-for-filament/. Published views override the package defaults automatically.

Set your PDF driver in .env:


Configuration

All options live in config/advanced-table-export-for-filament.php:

Key Default Description
default_format xlsx Default export format
default_page_orientation landscape PDF orientation
time_format M_d_Y-H_i Timestamp suffix for generated filenames
max_pdf_rows 200 Max rows for PDF exports
max_export_rows 2000 Max rows for CSV/XLSX exports
csv_delimiter , CSV field delimiter
pdf_renderer null PDF driver: sidecar, browsershot, dompdf, null
disable_preview false Hide preview section in modal
disable_filter_columns false Hide column picker
disable_file_name false Hide filename input
disable_file_name_prefix false Disable timestamp prefix on filenames
disable_additional_columns false Disable extra column inputs
preview_per_page 25 Preview pagination size (v0.2.0)
action_icon heroicon-o-arrow-down-on-square Action button icon

Panel-level limits override config when set on the plugin:


PDF rendering

The package resolves a PdfRenderer contract from the container based on pdf_renderer:

Driver Best for
sidecar Production on AWS Lambda via Sidecar Browsershot
browsershot Local/dev with Chrome via Browsershot
dompdf Simple HTML-to-PDF without a headless browser
null Development until PDF export ships in v0.2.0

Migrating from filament-export

If you used alperenersoy/filament-export on Filament v2/v3, this package offers a familiar workflow for Filament v4/v5:

Many disable* options from the original package map directly to config keys (see Action customization).


Action customization

Both modal and quick export actions share a fluent API similar to filament-export:

Method Description
fileName() Default file name
timeFormat() Timestamp format when the file name is generated automatically
formats() Whitelist enabled export formats
disablePdf() / disableXlsx() / disableCsv() / disableJson() / disableXml() / disableClipboard() Hide export formats
clipboardFormat() Clipboard payload format (Tsv, Csv, Json)
jsonStructure() / prettyJson() / compactJson() JSON export structure and formatting
xmlRoot() / xmlRowTag() XML root and row element names
formatIcon() / formatLabel() / groupLabel() Quick export presentation
modifyJsonExport() / modifyXmlExport() Customize JSON/XML output before download
defaultFormat() Default selected format
defaultPageOrientation() Default PDF orientation
directDownload() Skip the modal and export immediately with defaults
disableFilterColumns() Hide the column picker
disableFileName() Hide the file name input
disableFileNamePrefix() Disable automatic table-name prefix
disablePreview() Hide the paginated preview
disableTableColumns() Export only columns from withColumns()
withHiddenColumns() Include toggled-hidden table columns in exports
withColumns() Add extra model columns to the export
csvDelimiter() CSV delimiter for this action
formatStates() Override exported values per column
extraViewData() Extra variables for PDF/preview Blade views
modifyExportQueryUsing() Modify the export query before fetching records
modifyPdfHtml() Modify rendered PDF HTML before conversion (all PDF drivers)
modifyDompdfWriter() Customize the Dompdf instance when using the dompdf driver
modifyXlsxWriter() Customize the OpenSpout XLSX writer (sheet name, etc.)
modifyCsvWriter() Customize OpenSpout CSV options (delimiter, BOM) before export

Action-level settings override global config values.

Writer hooks

Each hook receives a $context array: fileName, headers, rows, rowCount, format, and orientation (PDF only).

Custom Blade views

Edit resources/views/vendor/advanced-table-export-for-filament/pdf/table.blade.php or export-preview.blade.php. Combine with extraViewData() to pass custom variables into the templates.


Roadmap

Version Focus
v1.0.0 (current) JSON, XML, clipboard, quick export ActionGroups, formats() API
v1.1+ End-user additional-columns UI

Contributing

Contributions are welcome! See CONTRIBUTING.md for setup and guidelines.

Found a bug or missing feature? Open an issue.


Changelog

See CHANGELOG.md for release notes.


License

MIT © Igor Clauss


Author

Igor Clauss — Laravel & Filament developer

Built with care for teams who need reliable table exports in modern Filament panels.


All versions of advanced-table-export-for-filament with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0|^5.0
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
openspout/openspout Version ^4.28
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package occtherapist/advanced-table-export-for-filament contains the following files

Loading the files please wait ...