Filament admin panel integration for the AIArmada Docs package. Manage invoices, receipts, document templates, and PDF generation directly from your Filament panel.
- 📄 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
- PHP 8.4+
- Laravel 12.0+
- Filament 5.0+
- aiarmada/docs package
composer require aiarmada/filament-docsRegister 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-configManage 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
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
| 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 |
// 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,
],
],
];See the docs folder for detailed documentation:
The MIT License (MIT). Please see LICENSE for more information.