fastofi-corp/filament-printables

A package to generate reports and form printables for your app
190 36
Install
composer require fastofi-corp/filament-printables
Latest Version:v1.0.4
PHP:^8.1
License:MIT
Last Updated:Oct 9, 2023
Links: GitHub  ·  Packagist
Maintainer: alletor

Filament Printables: a package to generate reports and form printables for your app.

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

634,760,849 9,707
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

493,838,477 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

408,553,772 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658