aiarmada/filament-docs

A comprehensive Filament admin interface for managing documents created by the AIArmada Docs package

Maintainers

Package info

github.com/AIArmada/filament-docs

Homepage

Issues

pkg:composer/aiarmada/filament-docs

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

v1.0.0 2026-03-08 09:35 UTC

This package is auto-updated.

Last update: 2026-03-21 04:56:12 UTC


README

Latest Version on Packagist Total Downloads

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

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.