pxlrbt/filament-image-compare

InfolistEntry for comparing images side by side

Fund package maintenance!
pxlrbt

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:CSS

pkg:composer/pxlrbt/filament-image-compare

dev-main 2025-11-30 04:04 UTC

This package is auto-updated.

Last update: 2025-11-30 04:04:16 UTC


README

header

Filament Favicon

Latest Version on Packagist Software License GitHub Workflow Status Total Downloads

Image Comparison / Two-Up Entry for Before/After Comparison.

Preview

Installation via Composer

composer require pxlrbt/filament-image-compare

Usage

ImageCompareEntry::make()
    ->leftImage(fn ($record) => $record->left_image)
    ->rightImage(fn ($record) => $record->right_image)

Contributing

If you want to contribute to this packages, you may want to test it in a real Filament project:

  • Fork this repository to your GitHub account.
  • Create a Filament app locally.
  • Clone your fork in your Filament app's root directory.
  • In the /filament-image-compare directory, create a branch for your fix, e.g. fix/error-message.

Install the packages in your app's composer.json:

"require": {
    "pxlrbt/filament-image-compare": "dev-fix/error-message as main-dev",
},
"repositories": [
    {
        "type": "path",
        "url": "filament-image-compare"
    }
]

Now, run composer update.

Credits