New Tiers availableMore feature, Up to 10 Million AI-Tokens for free

Read blog post

Let your editors use media directly in the CMS.

Connect Statamic to your Fairu library. The official addon brings file selection and media integration to the Control Panel and provides image variants for your Antlers templates.

Statamic Addon

Everything You Need for Modern Asset Management

01 / 06

One-Click Migration

Migrate your existing assets to Fairu with a single command. The addon automatically converts old paths and keeps your content working.

02 / 06

Native Antlers Tags

Use intuitive Antlers tags to output images, videos, and files. Generate responsive srcsets, apply transformations, and control quality — all in your templates.

03 / 06

Custom Fieldtype

Replace your asset fields with the Fairu fieldtype. Browse, select, and manage your assets without leaving the Control Panel.

04 / 06

Automatic Optimization

Images are automatically resized, cropped, and converted to modern formats like WebP. No manual processing required.

05 / 06

Responsive Images

Generate srcset attributes with configurable breakpoints so the browser can choose an image size for its viewport.

06 / 06

On-the-Fly Transforms

Apply width, height, quality, and format parameters on-the-fly. Every transformation is cached and delivered via CDN.

Quick Setup

Up and Running in Minutes

Get started with just a few commands. The addon integrates seamlessly with your existing Statamic installation.

  1. 01 / 03

    Install via Composer

    composer require sushidev/fairu-statamic
  2. 02 / 03

    Configure your credentials

    Add your Fairu credentials to your .env file

    FAIRU_TENANT=your-tenant-id
    FAIRU_TENANT_SECRET=your-api-key
  3. 03 / 03

    Migrate your assets

    Migrate existing assets

    php please fairu:setup
Antlers Templates

Simple, Powerful Template Tags

Use familiar Antlers syntax to output your assets with full control over transformations and responsive behavior.

Simple image output
{{ fairu:image :id="image" alt="My image" }}
Image with transformations
{{ fairu:image :id="image" width="800" height="600" quality="85" format="webp" }}
Responsive image with srcset
{{ fairu:image :id="image"
    sources="320:320w,480:800w,768:1200w,1200:1600w,1920:2400w"
    sizes="(max-width: 768px) 100vw, 50vw"
    alt="Responsive image" }}
FAQ

Questions about the Statamic addon

Try Fairu in your Statamic project.

Install the addon and test file selection and image output with one of your templates.