Get started

How to install and setup the addon

Features

This addon provides:

  • Import all your assets into fairu.app using our commands
  • Antlers tags making image handling smooth sailing.
  • Fieldset to easily embed Fairu hosted files into your new or existing project

How to use

You can install this addon via Composer:

composer require sushidev/fairu-statamic

Add env variables

Find your tenant ID in the tenant settings and create an API key for your application.

FAIRU_TENANT=[YOUR_TENANT_ID]
FAIRU_TENANT_SECRET=[YOUR_API_KEY_SECRET]

Import

On an existing project, you can run the following command which will automatically import all the connected assets into your fairu account. Depending on on the amount of files it might take some time.

php please fairu:setup

After the initial import, file paths will be transformed into the new Fairu-ID format dynamically.

On this page