aiarmada/filament-docs
最新稳定版本:v1.0.0
Composer 安装命令:
composer require aiarmada/filament-docs
包简介
A comprehensive Filament admin interface for managing documents created by the AIArmada Docs package
README 文档
README
Filament admin panel integration for the AIArmada Docs package. Manage invoices, receipts, document templates, and PDF generation directly from your Filament panel.
Features
- 📄 Document Management - Full CRUD for invoices and receipts
- 📝 Template System - Create and manage document templates with PDF settings
- 📊 Status Tracking - Track document lifecycle with status history
- 📥 PDF Generation - Generate and download PDFs with one click
- 🔍 Advanced Filtering - Filter by type, status, date, and more
- ⚡ Bulk Actions - Generate PDFs and update status for multiple documents
Requirements
- PHP 8.4+
- Laravel 12.0+
- Filament 5.0+
- aiarmada/docs package
Installation
composer require aiarmada/filament-docs
Register the plugin in your Filament panel:
use AIArmada\FilamentDocs\FilamentDocsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentDocsPlugin::make(), ]); }
Publish the configuration (optional):
php artisan vendor:publish --tag=filament-docs-config
Resources
DocResource
Manage documents with:
- List View - Sortable columns, advanced filters, search by document number/customer
- Create/Edit - Customer data, line items repeater, auto-calculated totals
- View Page - Document details, status actions, PDF download
- Relation Manager - View complete status history
DocTemplateResource
Manage document templates with:
- Template Settings - Name, slug, document type, default designation
- PDF Configuration - Paper format, orientation, margins
- Usage Statistics - Track how many documents use each template
Actions
| Action | Description |
|---|---|
| Generate PDF | Create or regenerate document PDF |
| Download PDF | Download the generated PDF file |
| Mark as Sent | Update status to sent |
| Mark as Paid | Record payment with timestamp |
| Cancel | Cancel the document |
| Set as Default | Make template the default for its type |
Configuration
// config/filament-docs.php return [ 'navigation' => [ 'group' => 'Documents', ], 'features' => [ 'auto_generate_pdf' => true, ], 'resources' => [ 'navigation_sort' => [ 'docs' => 10, 'doc_templates' => 20, 'sequences' => 90, 'email_templates' => 91, 'pending_approvals' => 15, 'aging_report' => 100, ], ], ];
Documentation
See the docs folder for detailed documentation:
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-21