aiarmada / filament-docs
A comprehensive Filament admin interface for managing documents created by the AIArmada Docs package
v1.0.0
2026-03-21 04:17 UTC
Requires
- php: ^8.4
- composer-runtime-api: ^2.1
- ext-intl: *
Requires (Dev)
- akaunting/laravel-money: ^6.0
- anourvalar/eloquent-serialize: ^1.2
- chillerlan/php-qrcode: ^5.0
- filament/blueprint: ^2.0
- filament/filament: ^5.0
- filament/spatie-laravel-media-library-plugin: ^5.0
- filament/support: *
- guzzlehttp/guzzle: ^7.0
- larastan/larastan: ^3.0
- laravel/boost: ^2.0
- laravel/cashier: ^16.0
- laravel/framework: ^12.0|^13.0
- laravel/pint: ^1.0
- laravel/prompts: ^0.3.5
- league/csv: ^9.27
- league/flysystem-aws-s3-v3: ^3.0
- lorisleiva/laravel-actions: ^2.9
- nunomaduro/essentials: ^1.0
- nunomaduro/termwind: ^2.0
- openspout/openspout: ^4.23
- orchestra/testbench: ^10.0|^11.0
- owen-it/laravel-auditing: ^14.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phiki/phiki: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^2.1
- pragmarx/google2fa: ^8.0
- pragmarx/google2fa-qrcode: ^3.0
- rector/rector: ^2.0
- spatie/browsershot: ^5.0
- spatie/laravel-activitylog: ^4.10
- spatie/laravel-data: ^4.18
- spatie/laravel-health: ^1.34
- spatie/laravel-medialibrary: ^11.0
- spatie/laravel-model-states: ^2.8
- spatie/laravel-package-tools: ^1.92
- spatie/laravel-pdf: ^2.4
- spatie/laravel-permission: ^7.2
- spatie/laravel-ray: ^1.29
- spatie/laravel-settings: ^3.6
- spatie/laravel-sluggable: ^3.7
- spatie/laravel-tags: ^4.2
- spatie/laravel-webhook-client: ^3.4
- staudenmeir/belongs-to-through: ^2.5
- staudenmeir/eloquent-has-many-deep: ^1.7
- symplify/monorepo-builder: ^12.5
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.