aiarmada / filament-docs
A comprehensive Filament admin interface for managing documents created by the AIArmada Docs package
v1.0.0
2026-03-08 09:35 UTC
Requires
- aiarmada/docs: v1.0.0
- filament/filament: ^5.0
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.