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

v1.1.0(3mo ago)89683[1 PRs](https://github.com/elmudometal/filament-custom-attribute-file-upload/pulls)MITJavaScriptPHP ^8.1CI passing

Since Dec 30Pushed 1w 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 today

READMEChangelog (1)Dependencies (30)Versions (10)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/a8396922cde1d4ae926ff9127210957818c35afb528dc30d3c56326676cc017a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c6d75646f6d6574616c2f66696c616d656e742d637573746f6d2d6174747269627574652d66696c652d75706c6f61642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/elmudometal/filament-custom-attribute-file-upload/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cde3f114c684590c34a6b5974beabe5d2db70a921ea43cfe6d1deaf5f4f1b86b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c6d75646f6d6574616c2f66696c616d656e742d637573746f6d2d6174747269627574652d66696c652d75706c6f61642f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/elmudometal/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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODI3MjY1NzksIm5iZiI6MTc4MjcyNjI3OSwicGF0aCI6Ii8xNjg2NzE0NS80MDE2OTgzNDUtMDZlMDcyOWYtZGZkOS00ODYxLTk5MTktNzVmMWMwNzA2OG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ExZjIyMDQzZTcxODViODQxMGY2MjVkZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.yGLTTbIRAYaGEyfT8OPJ4eeEwbj0QL_-jd0GbSQDEq0)

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

[](#installation)

You can install the package via composer:

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

Important

If you have not set up a custom theme and are using Filament Panels follow the instructions in the [Filament Docs](https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme) first.

After setting up a custom theme add the plugin's views to your theme css file or your app's css file if using the standalone packages.

```
@source '../../../../vendor/elmudo-dev/filament-custom-attribute-file-upload/resources/**/*.blade.php';
```

You can publish and run the migrations with:

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

You can publish the config file with:

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

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](.github/SECURITY.md) 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

48

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.1% of commits — single point of failure

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 ~153 days

Total

4

Last Release

91d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16867145?v=4)[Hernan Soto](/maintainers/elmudometal)[@elmudometal](https://github.com/elmudometal)

---

Top Contributors

[![elmudometal](https://avatars.githubusercontent.com/u/16867145?v=4)](https://github.com/elmudometal "elmudometal (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 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

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[schmeits/filament-character-counter

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

34226.4k13](/packages/schmeits-filament-character-counter)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

94135.4k5](/packages/marcelweidum-filament-expiration-notice)[biostate/filament-menu-builder

An Elegant Menu Builder for FilamentPHP

6528.1k2](/packages/biostate-filament-menu-builder)

PHPackages © 2026

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