PHPackages                             elmudo-dev/filament-custom-attribute-file-upload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. elmudo-dev/filament-custom-attribute-file-upload

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

elmudo-dev/filament-custom-attribute-file-upload
================================================

Component to add a custom name to image attributes for captions

1.1.0(1y ago)74942MITJavaScriptPHP ^8.1CI passing

Since Dec 30Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/elmudometal/filament-custom-attribute-file-upload)[ Packagist](https://packagist.org/packages/elmudo-dev/filament-custom-attribute-file-upload)[ Docs](https://github.com/elmudo-dev/filament-custom-attribute-file-upload)[ GitHub Sponsors](https://github.com/Elmudo-Dev)[ RSS](/packages/elmudo-dev-filament-custom-attribute-file-upload/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (6)Used By (0)

Component to add a custom name to image attributes for captions
===============================================================

[](#component-to-add-a-custom-name-to-image-attributes-for-captions)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f1951ef03eae49d622678bfc6149294cc05d4ea0c27e6d73a45864c9c225cb07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c6d75646f2d6465762f66696c616d656e742d637573746f6d2d6174747269627574652d66696c652d75706c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elmudo-dev/filament-custom-attribute-file-upload)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5524c07d6ca11e27736a6f77ac26eea37fc74bbdfddbf6c3e6f8dea62ccf3191/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c6d75646f2d6465762f66696c616d656e742d637573746f6d2d6174747269627574652d66696c652d75706c6f61642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/elmudo-dev/filament-custom-attribute-file-upload/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a15960f74b52c10e1701e1b5510a9cc34135569732e5ba7112fa3f4f4496230c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c6d75646f2d6465762f66696c616d656e742d637573746f6d2d6174747269627574652d66696c652d75706c6f61642f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/elmudo-dev/filament-custom-attribute-file-upload/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/704ce13c97c282e298c189ce5d94a853a2b12685813c3b224d048359f4f61af3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c6d75646f2d6465762f66696c616d656e742d637573746f6d2d6174747269627574652d66696c652d75706c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elmudo-dev/filament-custom-attribute-file-upload)

This component adds a custom field to save a caption attribute to the images. It has two versions: one to work with the native FileUpload component and another to work with the SpatieMediaLibraryFileUpload component.

[![image](https://private-user-images.githubusercontent.com/16867145/401698345-06e0729f-dfd9-4861-9919-75f1c07068ec.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0OTkwMTcsIm5iZiI6MTc3NTQ5ODcxNywicGF0aCI6Ii8xNjg2NzE0NS80MDE2OTgzNDUtMDZlMDcyOWYtZGZkOS00ODYxLTk5MTktNzVmMWMwNzA2OGVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1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y7zL0D_DaLnH2qsMcQMgLqcx7KkufYw)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require elmudo-dev/filament-custom-attribute-file-upload
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-custom-attribute-file-upload-views"
```

Usage
-----

[](#usage)

### Using with Spatie media Library

[](#using-with-spatie-media-library)

```
CustomAttributeSpatieMediaLibraryFileUpload::make('gallery')
    ->collection('gallery')
    ->conversion('thumb')
    ->downloadable()
    ->panelLayout('grid')
    ->multiple()
    ->reorderable(),
```

### Using with File Upload

[](#using-with-file-upload)

```
CustomAttributeFileUpload::make('gallery')
    ->downloadable()
    ->panelLayout('grid')
    ->multiple()
    ->reorderable(),
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Hernan Soto](https://github.com/elmudometal)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance70

Regular maintenance activity

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

488d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a09afaf89738b6daa9f9d85576cb487beacbb249f1b2d987f3900b2f74cd882?d=identicon)[elmudometal](/maintainers/elmudometal)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![elmudometal](https://avatars.githubusercontent.com/u/16867145?v=4)](https://github.com/elmudometal "elmudometal (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravelElmudo-Devfilament-custom-attribute-file-upload

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/elmudo-dev-filament-custom-attribute-file-upload/health.svg)

```
[![Health](https://phpackages.com/badges/elmudo-dev-filament-custom-attribute-file-upload/health.svg)](https://phpackages.com/packages/elmudo-dev-filament-custom-attribute-file-upload)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
