The official Fairu addon brings powerful asset management directly into your Statamic CMS. Seamlessly upload, transform, and deliver optimized images and files — without ever leaving the Control Panel.
Migrate your existing assets to Fairu with a single command. The addon automatically converts old paths and keeps your content working.
Use intuitive Antlers tags to output images, videos, and files. Generate responsive srcsets, apply transformations, and control quality — all in your templates.
Replace your asset fields with the Fairu fieldtype. Browse, select, and manage your assets without leaving the Control Panel.
Images are automatically resized, cropped, and converted to modern formats like WebP. No manual processing required.
Generate perfect srcset attributes with customizable breakpoints. Serve the right image size for every device automatically.
Apply width, height, quality, and format parameters on-the-fly. Every transformation is cached and delivered via CDN.
Get started with just a few commands. The addon integrates seamlessly with your existing Statamic installation.
composer require sushidev/fairu-statamicAdd your Fairu credentials to your .env file
FAIRU_TENANT=your-tenant-id
FAIRU_TENANT_SECRET=your-api-keyMigrate existing assets
php please fairu:setupUse familiar Antlers syntax to output your assets with full control over transformations and responsive behavior.
{{ fairu:image :id="image" alt="My image" }}{{ fairu:image :id="image" width="800" height="600" quality="85" format="webp" }}{{ fairu:image :id="image"
sources="320:320w,480:800w,768:1200w,1200:1600w,1920:2400w"
sizes="(max-width: 768px) 100vw, 50vw"
alt="Responsive image" }}Install the official Fairu addon and start delivering optimized assets in minutes.