PHPackages                             agencetwogether/filament-optimize-fileupload - 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. [Image &amp; Media](/categories/media)
4. /
5. agencetwogether/filament-optimize-fileupload

ActiveLibrary[Image &amp; Media](/categories/media)

agencetwogether/filament-optimize-fileupload
============================================

Save your image in another format with eventually a custom quality compression directly in FileUpload component

1.0.1(3mo ago)116MITPHPPHP ^8.2

Since Jan 14Pushed 3mo agoCompare

[ Source](https://github.com/agencetwogether/filament-optimize-fileupload)[ Packagist](https://packagist.org/packages/agencetwogether/filament-optimize-fileupload)[ Docs](https://github.com/agencetwogether/filament-optimize-fileupload)[ GitHub Sponsors](https://github.com/agencetwogether)[ RSS](/packages/agencetwogether-filament-optimize-fileupload/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

Filament Optimize FileUpload
============================

[](#filament-optimize-fileupload)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7bc201b8fadb2ff2eca1952527ae29dc09ed2f6c8a547fccee48576ad68bfe11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6167656e636574776f6765746865722f66696c616d656e742d6f7074696d697a652d66696c6575706c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/agencetwogether/filament-optimize-fileupload)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/85fd7060b740bfba36d5ef000f5583c7bb9649e0d2a76c26f7c07eb721d12bde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6167656e636574776f6765746865722f66696c616d656e742d6f7074696d697a652d66696c6575706c6f61642f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/agencetwogether/filament-optimize-fileupload/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/adce4245992064dac7ede8cec3881f2a482bc7f0457ad38725e5110f4e6ad6d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6167656e636574776f6765746865722f66696c616d656e742d6f7074696d697a652d66696c6575706c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/agencetwogether/filament-optimize-fileupload)

Save your image in another format with eventually a custom quality compression directly in FileUpload component

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

[](#installation)

You can install the package via composer:

```
composer require agencetwogether/filament-optimize-fileupload
```

Usage
-----

[](#usage)

After installation, just call `->optimize('webp', '50')` in one of your `FileUpload` component in your form to automatically save your image with a desired format

```
FileUpload::make('image')
    ->image()
    ->optimize('webp')
```

You can choose any image format and eventually customizing the quality with second parameter.

```
FileUpload::make('image')
    ->image()
    ->optimize(format: 'jpg', quality: '40')
```

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)

- [Agence Twogether](https://github.com/agencetwogether)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance78

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

4

Last Release

116d ago

Major Versions

0.0.2 → 1.0.02026-01-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/04923f4e9213a358f93d2e5307ce4e756c674f6cc110eadc9945b6501663e0d3?d=identicon)[agencetwogether](/maintainers/agencetwogether)

---

Top Contributors

[![agencetwogether](https://avatars.githubusercontent.com/u/53862310?v=4)](https://github.com/agencetwogether "agencetwogether (5 commits)")

---

Tags

laravelimage manipulationfilamentintervention imageagencetwogether

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/agencetwogether-filament-optimize-fileupload/health.svg)

```
[![Health](https://phpackages.com/badges/agencetwogether-filament-optimize-fileupload/health.svg)](https://phpackages.com/packages/agencetwogether-filament-optimize-fileupload)
```

###  Alternatives

[awcodes/filament-curator

A media picker plugin for FilamentPHP.

434297.7k19](/packages/awcodes-filament-curator)[joshembling/image-optimizer

Optimize your Filament images before they reach your database.

111145.4k12](/packages/joshembling-image-optimizer)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

254.4k](/packages/danihidayatx-image-optimizer)[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.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ace-of-aces/laravel-image-transform-url

Easy, URL-based image transformations inspired by Cloudflare Images.

1756.4k](/packages/ace-of-aces-laravel-image-transform-url)[rawilk/filament-password-input

Enhanced password input component for filament.

52232.4k3](/packages/rawilk-filament-password-input)

PHPackages © 2026

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