PHPackages                             blackpig-creatif/chambre-noir - 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. blackpig-creatif/chambre-noir

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

blackpig-creatif/chambre-noir
=============================

Automatic image conversion and optimization for Filament FileUpload fields

v2.1.0(1mo ago)0742MITPHPPHP ^8.3|^8.4

Since Feb 9Pushed 1mo agoCompare

[ Source](https://github.com/Blackpig/chambre-noir)[ Packagist](https://packagist.org/packages/blackpig-creatif/chambre-noir)[ RSS](/packages/blackpig-creatif-chambre-noir/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (10)Used By (2)

ChambreNoir
===========

[](#chambrenoir)

Automatic image conversion, responsive images, and attribution for FilamentPHP v4.

ChambreNoir extends Filament's `FileUpload` with automatic image conversions on upload, responsive image rendering via `` and `srcset`, and built-in photographer attribution. No database tables, no model relationships -- just JSON stored in any column.

---

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 11+ / 12+
- FilamentPHP 4+ / 5+
- Imagick PHP extension
- Intervention Image 3.x

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

[](#installation)

```
composer require blackpig-creatif/chambre-noir
```

Publish the config (optional):

```
php artisan vendor:publish --tag=chambre-noir-config
```

---

Quick Start
-----------

[](#quick-start)

### 1. Create a Conversion Preset

[](#1-create-a-conversion-preset)

```
php artisan chambre-noir:make-conversion Hero
```

This generates `app/BlackpigCreatif/ChambreNoir/Conversions/HeroConversion.php`:

```
