Download the PHP package arielmejiadev/filament-printable without Composer
On this page you can find all versions of the php package arielmejiadev/filament-printable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arielmejiadev/filament-printable
More information about arielmejiadev/filament-printable
Files in arielmejiadev/filament-printable
Package filament-printable
Short Description Package to get your Filament Resources Printable
License MIT
Homepage https://github.com/arielmejiadev/filament-printable
Informations about the package filament-printable
Package to Print Filament Resources
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
You can install the package via composer:
You can publish and run the stubs:
Usage
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
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:
[!IMPORTANT] For Letter and Legal paper sizes the Filament columns
sm
size distribution would be the one used.
Customization
Filament Printable includes 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 public/css/filament-printable/filament-printable-styles.css
Here an example to remove some section styles to print:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- ArielMejiaDev
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-printable with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0