Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Attachment Library Laravel Package

van-ons/filament-attachment-library

Filament Attachment Library adds a simple attachments manager to your Filament panel: upload files, browse and select existing attachments, and store them in a central library. Includes installer command, migrations/assets, and Tailwind-ready templates.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • File Management for Eloquent Models: Enables seamless attachment handling (images, documents, etc.) directly tied to database records, reducing custom development time for CRUD operations.
  • Filament Admin Panel Enhancement: Accelerates development of admin interfaces by providing pre-built UI components for file uploads, previews, and management.
  • Build vs. Buy Decision: Avoids reinventing file upload/management wheels, leveraging a battle-tested, MIT-licensed package with active maintenance (last release: 2026-05-12).
  • Use Cases:
    • E-commerce product galleries (e.g., product_gallery collections).
    • CMS media libraries (e.g., blog post featured images).
    • User profile attachments (e.g., resumes, profile pictures).
    • Document-heavy workflows (e.g., contracts, invoices).
  • Roadmap Alignment: Supports future-proofing by integrating with Laravel’s ecosystem (e.g., Glide for image optimization) and Filament’s plugin system.

When to Consider This Package

  • Adopt When:

    • Your project uses Filament 3.2+ and Laravel 11 (or compatible versions).
    • You need structured file attachments linked to Eloquent models (e.g., one-to-many relationships).
    • Your team prioritizes developer velocity over custom UI/UX for file management.
    • You require Glide integration for image resizing/optimization.
    • Your storage backend is Laravel’s filesystem (e.g., S3, local disk).
  • Look Elsewhere If:

    • You need client-side-only file handling (e.g., React/Vue uploads without Laravel backend).
    • Your stack uses non-Filament admin panels (e.g., Nova, Backpack).
    • You require advanced features like drag-and-drop sorting, versioning, or collaborative editing (consider dedicated packages like Spatie Media Library or custom solutions).
    • Your project has strict security/compliance needs (e.g., HIPAA) requiring custom validation beyond the package’s scope.
    • You’re using PHP <8.2 or Laravel <11 (unofficial compatibility not guaranteed).

How to Pitch It (Stakeholders)

For Executives:

"This package lets our admin team manage files (images, documents) directly within Filament—no custom dev work. For example, an e-commerce manager can upload product photos in seconds, while our CMS team avoids manual file organization. It’s like Dropbox for our database models, with built-in optimizations (e.g., image resizing) to keep our site fast. MIT-licensed and actively maintained, it’s a low-risk way to cut dev time by 30%+ for file-heavy workflows."

For Engineering:

*"The Filament Attachment Library integrates cleanly with Laravel’s filesystem and Glide, offering two attachment modes:

  1. Direct column storage (e.g., featured_image in a products table).
  2. Relationship-based (e.g., HasAttachments trait for dynamic collections like product_gallery).
  • Pros:
    • Zero custom UI code for uploads/previews (uses Filament’s native components).
    • Supports bulk operations, drag-and-drop (via Filament’s plugin system).
    • Configurable storage disks (e.g., S3) and image optimization via Glide.
  • Trade-offs:
    • TailwindCSS dependency (requires theme setup).
    • Limited to Filament 3.2+ (but aligns with our tech stack).
  • Next Steps: Install via Composer, run filament-attachment-library:install, and integrate the AttachmentField into our resources. Estimated dev time: 2–4 hours for full setup."*

Key Metric: "Reduces time spent on file-management CRUD from weeks to days."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
cocosmos/filament-sticky-save-bar
patrickbussmann/oauth2-apple
3brs/enterprise-security-bundle
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope