zephyrisle / fof-upload-imagekit
ImageKit adapter for FoF Upload on Flarum.
Package info
github.com/Zephyr-Isle/fof-upload-imagekit
Type:flarum-extension
pkg:composer/zephyrisle/fof-upload-imagekit
dev-main
2026-05-31 13:22 UTC
Requires
- php: ^8.1
- flarum/core: ^2.0@beta
- fof/upload: ^2.0@beta
- guzzlehttp/guzzle: ^7.0
This package is auto-updated.
Last update: 2026-05-31 13:41:50 UTC
README
A Flarum extension that adds an imagekit upload adapter for fof/upload.
Features
- Registers
imagekitas a FoF Upload adapter. - Uploads files to ImageKit using the server-side upload API.
- Stores the ImageKit
fileIdinfof_upload_files.remote_idso deletions can be synchronized. - Exposes a minimal admin settings page for ImageKit credentials and folder settings.
Installation
composer require zephyrisle/fof-upload-imagekit
Configuration
- Enable the extension in the Flarum admin panel.
- Fill in the ImageKit private key and URL endpoint on the extension page.
- Optionally adjust the upload folder and unique filename behavior.
- Open the
fof/uploadsettings page and map your mime types to theimagekitadapter.
Notes
- This extension uses ImageKit server-side upload and delete APIs.
- Delete operations require the original ImageKit
fileId, which is stored asremote_idwhen a file is uploaded through this adapter. - Existing FoF Upload records that were not created through this adapter cannot be deleted from ImageKit automatically unless they already contain a valid
remote_id.