fastofi-corp / filament-printables
A package to generate reports and form printables for your app
Requires
- php: ^8.1
- barryvdh/laravel-dompdf: ^2.0
- filament/filament: ^2.0
- spatie/laravel-package-tools: ^1.14.0
- ticketpark/htmlphpexcel: ^1.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-11-09 12:07:27 UTC
README
This is a work in progress thing
Installation
You can install the package via composer:
composer require fastoficorp/filament-printables
You can publish and run the migrations with:
php artisan vendor:publish --tag="filament-printables-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-printables-config"
Usage
Create Templates in the Templates Resource
Work in Progress
Use the Buttons in your tables
To use the button in your table, just add the following lines:
// For Single Actions FastofiCorp\FilamentPrintables\Actions\PrintAction::make(), // For Bulk Actions FastofiCorp\FilamentPrintables\Actions\BulksPrintAction::make(),
Feel free to use all the actions methods for Filament Actions (we suggest not to override 'action()' and 'forms()' methods because this is where the plugin works).
Testing
Work in progress
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
License
The MIT License (MIT). Please see License File for more information.