fastofi-corp / filament-printables
用于生成应用程序报告和打印表的包
v1.0.4
2023-08-29 18:00 UTC
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-09-09 11:45:37 UTC
README
这是一个正在进行中的项目
安装
您可以通过composer安装此包
composer require fastoficorp/filament-printables
您可以使用以下命令发布和运行迁移
php artisan vendor:publish --tag="filament-printables-migrations"
php artisan migrate
您可以使用以下命令发布配置文件
php artisan vendor:publish --tag="filament-printables-config"
用法
在模板资源中创建模板
进行中
使用表中的按钮
要在表中使用按钮,只需添加以下行
// For Single Actions FastofiCorp\FilamentPrintables\Actions\PrintAction::make(), // For Bulk Actions FastofiCorp\FilamentPrintables\Actions\BulksPrintAction::make(),
请随意使用所有Filament Actions的动作方法(我们建议不要覆盖'actions()'和'forms()'方法,因为这是插件工作的地方)。
测试
进行中
更新日志
请参阅更新日志以获取最近更改的更多信息。
贡献
请参阅贡献指南以获取详细信息。
安全漏洞
请查看我们的安全策略了解如何报告安全漏洞。
鸣谢
许可
MIT许可(MIT)。请参阅许可文件以获取更多信息。