fastofi-corp/filament-printables

A package to generate reports and form printables for your app

v1.0.4 2023-08-29 18:00 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.