PHPackages                             arielmejiadev/filament-printable - 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. arielmejiadev/filament-printable

ActiveLibrary

arielmejiadev/filament-printable
================================

Package to get your Filament Resources Printable

3.0.0(11mo ago)175.4k↓50%5[3 PRs](https://github.com/ArielMejiaDev/filament-printable/pulls)MITPHPPHP ^8.1|^8.2CI passing

Since Feb 7Pushed 4mo ago2 watchersCompare

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

READMEChangelog (6)Dependencies (13)Versions (10)Used By (0)

Package to Print Filament Resources
===================================

[](#package-to-print-filament-resources)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7b38692f57dceb596bbe6ffc30a35b34776c0ce4c4c3f4d3b82f0514c878f335/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617269656c6d656a69616465762f66696c616d656e742d7072696e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arielmejiadev/filament-printable)[![GitHub Tests Action Status](https://camo.githubusercontent.com/362f3f8362e0f79821b2b3de375a870b1a4767b89949a57cbb19ed2056169926/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f617269656c6d656a69616465762f66696c616d656e742d7072696e7461626c652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/arielmejiadev/filament-printable/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e25f239121e6cc83ae66f80c9c8ea5c9a9222a88242d19d817a186839fcbbe1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f617269656c6d656a69616465762f66696c616d656e742d7072696e7461626c652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/arielmejiadev/filament-printable/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/2dfa00cd0ed8cc6752ff9ebf6f2d54e647c22303fe1741e995b1db76280c8f94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617269656c6d656a69616465762f66696c616d656e742d7072696e7461626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arielmejiadev/filament-printable)

This package adds a quick and simple way to print and print-as-pdf your Filament resource tables or forms, pretty handy to add basic reports (a lot of times it would be enough), it works with a any kind of sort, search, filter or paginated or all data.

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

[](#installation)

You can install the package via composer:

```
composer require arielmejiadev/filament-printable
```

Stubs
-----

[](#stubs)

You can publish (not necessary) and run the stubs:

```
php artisan filament-printable:install
```

Or

```
php artisan vendor:publish --tag="filament-printable-stubs"
```

Usage
-----

[](#usage)

```
// Add print button in a filament list header

class ListUsers extends ListRecords
{
    protected function getHeaderActions(): array
    {
        return [
            // ...
            PrintAction::make(),
        ];
    }
}

// Add print button in Filament CreateRecord or EditRecord class

class EditUser extends EditRecord
{
    protected function getHeaderActions(): array
    {
        return [
            // ...
            \ArielMejiaDev\FilamentPrintable\Actions\PrintAction::make(),
        ];
    }
}

// Add print button as a bulk action

->bulkActions([
    Tables\Actions\BulkActionGroup::make([
        Tables\Actions\DeleteBulkAction::make(),
        \ArielMejiaDev\FilamentPrintable\Actions\PrintBulkAction::make(),
    ]),
]);
```

Print Filament Tables
---------------------

[](#print-filament-tables)

By default, `filament-printable` set print styles to make tables look good no matter if table has been:

- Sorted
- Show Search Results
- Show Filter Results
- Show Paginated Results
- Show all results

The styles are easily to customize in `public/css/filament-printable/filament-printable-styles.css`

Print Filament Forms
--------------------

[](#print-filament-forms)

By default, Filament adds some flexible grids to form elements, if you want to set explicitly specific distribution for elements to print documents.

You can use Filament `Grid` and `Section` elements to distribute elements inside a form:

```
    public static function form(Form $form): Form
    {
        return $form
            ->schema([

                Forms\Components\Grid::make()->schema([
                    Forms\Components\TextInput::make('name'),
                    Forms\Components\TextInput::make('email'),
                ])->columns([
                        'xs' => 1,
                        'sm' => 2,
                    ]),

                Forms\Components\Section::make([
                    Forms\Components\TextInput::make('name'),
                    Forms\Components\TextInput::make('email'),
                    Forms\Components\TextInput::make('second_email'),
                ])->columns([
                        'xs' => 1,
                        'sm' => 3,
                    ]),
            ]);
    }
```

Important

For Letter and Legal paper sizes the Filament columns `sm` size distribution would be the one used.

Customization
-------------

[](#customization)

Filament Printable includes a css file that you can publish:

```
php artisan vendor:publish --tag="filament-printable-styles"

```

Some css styles to print your resources that most of the time looks awesome, but you can customize your print css to match your requirements, in `resources/css/filament-printable.css`

Here an example to remove some section styles to print:

```
.fi-section {
    background-color: transparent !important;
    box-shadow: none !important;
}
```

To show the changes in your css file you can run:

```
composer update ArielMejiaDev/filament-printable
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [ArielMejiaDev](https://github.com/ArielMejiaDev)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance66

Regular maintenance activity

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~95 days

Recently: every ~119 days

Total

6

Last Release

349d ago

Major Versions

0.0.1 → 1.0.02024-02-08

1.0.0 → 2.0.02024-06-25

2.2.0 → 3.0.02025-05-29

PHP version history (2 changes)0.0.1PHP ^8.1

2.1.0PHP ^8.1|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31971074?v=4)[ArielMejiaDev](/maintainers/ArielMejiaDev)[@ArielMejiaDev](https://github.com/ArielMejiaDev)

---

Top Contributors

[![ArielMejiaDev](https://avatars.githubusercontent.com/u/31971074?v=4)](https://github.com/ArielMejiaDev "ArielMejiaDev (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![emmanpbarrameda](https://avatars.githubusercontent.com/u/67356375?v=4)](https://github.com/emmanpbarrameda "emmanpbarrameda (1 commits)")

---

Tags

laravelarielmejiadevfilament-printable

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/arielmejiadev-filament-printable/health.svg)

```
[![Health](https://phpackages.com/badges/arielmejiadev-filament-printable/health.svg)](https://phpackages.com/packages/arielmejiadev-filament-printable)
```

###  Alternatives

[joaopaulolndev/filament-edit-profile

Filament package to edit profile

250258.1k34](/packages/joaopaulolndev-filament-edit-profile)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[jacobtims/filament-logger

Activity logger for filament

1721.0k4](/packages/jacobtims-filament-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
