agencetwogether/filament-optimize-fileupload

Save your image in another format with eventually a custom quality compression directly in FileUpload component
28 1
Install
composer require agencetwogether/filament-optimize-fileupload
Latest Version:1.0.1
PHP:^8.2
License:MIT
Last Updated:Jan 16, 2026
Links: GitHub  ·  Packagist
Maintainer: agencetwogether

Filament Optimize FileUpload

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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

Installation

You can install the package via composer:

composer require agencetwogether/filament-optimize-fileupload

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

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

agencetwogether/matomo-analytics

Matomo Analytics integration for Filament Panels with a set of widgets to displa...

120 2
agencetwogether/hookshelper

Simple plugin to toggle display hooks available in current page.

16,215 27
anakadote/image-manager

Image resizing and cropping package for Laravel 4.

6,307 6
square1/resized-laravel

Laravel 5 package for resized.co, the on-demand image manipulation service.

92,949 2