Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Action Export Laravel Package

jeffersongoncalves/filament-action-export

View on GitHub
Deep Wiki
Context7
v3.6.9

Fixed

  • Fix print showing empty data: use correct $get() paths without ../ prefix (resolved to wrong state path)
  • Use Livewire dispatch event to trigger print in browser instead of relying on Alpine x-init re-execution
v3.6.8

Fixed

  • Fix empty print output - replaced htmlentities() with base64_encode() in PHP and atob() in JS to correctly pass HTML through the template literal without breaking the iframe rendering
v3.6.7

Fixed

  • Fix empty print content - replaced $livewire->getMountedTableActionForm()->getState() with Get $get('../field') in afterStateUpdated callback. The Livewire form methods don't exist in Filament v5, causing the callback to fail silently.
v3.6.6

Fixed

  • Fix shouldRefresh is not defined Alpine.js error - Filament's modal component overrides x-data, so custom variables were lost. Now inlines PHP boolean values directly in x-init as JS literals.
v3.6.5

Fixed

  • Fix Property [mountedTableBulkAction] not found on component error in Livewire v4 - replaced direct Livewire property access with component getState() method in table-view blade
v3.6.4

Fixed

  • Fix Method TableView::name does not exist error - use statePath() instead of name() in TableView::make() for Filament v5 compatibility
v3.6.3

What's Changed

  • Separate preview modal: Preview data now opens in a dedicated modal with pagination instead of inline static preview
  • Reactive column filters: Column filter checkboxes now reflect in Print output on both export and preview modals
  • Hidden field mechanism: Added reactive communication between JS and Livewire via table_view hidden input
  • Print on both screens: Print via hidden iframe works from both the export modal and the preview modal
  • JS asset registration: Added filament-export.js with triggerInputEvent() and printHTML() functions
  • Removed ExportPreview Livewire component (replaced by TableView form component)
  • Removed preview-section.blade.php (replaced by modal in table-view.blade.php)
  • Removed unnecessary [@phpstan-ignore](https://github.com/phpstan-ignore) annotations (Filament v5 types are correct)

Full Changelog: https://github.com/jeffersongoncalves/filament-action-export/compare/v3.6.2...v3.6.3

v3.6.12

Fixed

  • Removed title heading from print and PDF templates, showing only the table
v3.6.11

What's Changed

  • fix: use direct array access in print template instead of data_get()data_get() interprets dots as nested array traversal, causing relationship columns (e.g. roles.name) to show empty in print output
v3.6.10

What's Changed

  • fix: eager-load relationship columns (e.g. roles.name) for export/print to prevent N+1 queries and empty data in apps with preventLazyLoading()
v3.6.2

Improvement

  • Refactor: use hidden iframe for print instead of opening a new browser tab. Print dialog now appears inline without navigating away.
v3.6.1

Bug Fix

  • Fix: wrap print JS in IIFE to fix Uncaught SyntaxError: Unexpected token 'var' caused by Livewire's js() evaluating via Alpine.js new Function()
v3.6.0

New Feature

  • Print button: Added a Print button to the export modal that opens table data in a new browser window and triggers window.print(). Works for both HeaderAction and BulkAction. Respects isPrintEnabled() and isDirectDownload() settings.
v3.5.1

Bug Fixes

  • Fix: update Filament\Forms\Get import to Filament\Schemas\Components\Utilities\Get (Filament v5 namespace)
  • Fix: correct Filament\Forms\Components\Component docblock namespace to Filament\Schemas\Components\Component
v3.5.0

What's Changed

Bug Fixes

  • Fixed Filament v5 namespace imports: Filament\Tables\Actions\ActionFilament\Actions\Action and Filament\Tables\Actions\BulkActionFilament\Actions\BulkAction
  • Fixed tests for renamed/removed methods (disableFilterColumns replaces userCanSelectColumns)
  • Fixed filename resolution assertions to match new behavior

New

  • Added comprehensive NewTraitFeaturesTest with 52 tests covering all traits
  • Tests for HasPreview, HasPageOrientation, HasAdditionalColumns, HasExportColumns, HasExportFormats, HasFilename, fillDefaultData, config-driven defaults, modifyQueryUsing, and table state flags

Full Changelog: https://github.com/jeffersongoncalves/filament-action-export/compare/v3.4.0...v3.5.0

v3.4.0

What's Changed

  • Remove ExportAction class (use FilamentExportHeaderAction or FilamentExportBulkAction instead)
  • Replace deprecated form() with schema() for Filament v5 compatibility
  • Update all tests to use FilamentExportBulkAction/FilamentExportHeaderAction

Full Changelog: https://github.com/jeffersongoncalves/filament-action-export/compare/v3.3.0...v3.4.0

v3.3.0

What's Changed

New Features

  • FilamentExportBulkAction: Table bulk action for exporting selected records
  • FilamentExportHeaderAction: Table header action with withFilters(), withSearch(), and withSort() support

Full Changelog

https://github.com/jeffersongoncalves/filament-action-export/compare/v3.2.0...v3.3.0

v3.2.0

What's Changed

New Features

  • disableTableColumns() — Ignore table columns entirely and use only additional columns for fully custom exports
  • disableFileNamePrefix() — Control the filename prefix independently (disable prefix without hiding the filename input)
  • withFilters() / withSearch() / withSort() logic — Now actually connected to the table's filtered/sorted query (previously declared but non-functional)
  • Configurable icons via config — Set action, preview, export, print, and cancel icons globally in config
  • use_snappy global config — Enable Snappy PDF driver globally without calling ->snappy() on each action
  • Explicit pdfDriver() / snappy() takes priority over global config

Full Changelog: https://github.com/jeffersongoncalves/filament-action-export/compare/v3.1.0...v3.2.0

v3.1.0

What's New

New Features

  • File Name Control: Custom file name, prefix, time format, and closure support
  • Direct Download: Skip the modal and download with default settings
  • CSV Delimiter: Configurable CSV separator (default: comma)
  • Format States: Per-column value formatting with closures
  • Writer Callbacks: Modify Excel/PDF writers before generation
  • With Hidden Columns: Include toggled columns in export
  • Page Orientation: Reactive PDF orientation selector (portrait/landscape)
  • Removed FilamentExportPlugin: Actions are configured per-resource, no plugin needed

Improvements

  • 7 new translation files: Spanish, French, German, Italian, Dutch, Arabic, Turkish
  • Added csv_delimiter to config file
  • Reactive form fields (format selector shows orientation only for PDF)

Compatibility

  • Filament v5
  • PHP ^8.2
  • Laravel ^11.0
  • Livewire ^4.0
v3.0.0

Filament Action Export v3.0.0

Release for Filament v5 with Livewire v4 support.

Changes from v2.x

  • Upgraded to Filament v5 and Livewire v4
  • Self-closing <livewire:> tags (Livewire v4 requirement)
  • LivewireServiceProvider registered in test environment
  • API remains identical to v2.x — no code changes needed

Features

  • Export Filament tables to CSV, XLSX and PDF
  • Unified ExportAction for bulk and header actions
  • FilamentExportPlugin for panel registration
  • Column selection and exclusion
  • Additional columns with default values
  • PDF support with DomPDF and Snappy drivers
  • Extra view data (static or closure)
  • Preview component with print support
  • Table filters, search and sort support for header actions
  • Pint and Larastan tooling (level 5)

Requirements

  • PHP ^8.2
  • Laravel ^11.0
  • Filament ^5.0
  • Livewire ^4.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium