dshovchko/flarum-avif-support
最新稳定版本:v1.0.0
Composer 安装命令:
composer require dshovchko/flarum-avif-support
包简介
Adds AVIF image format support to Flarum
README 文档
README
A Flarum extension that adds support for AVIF image format in posts.
Features
- ✅ Automatically recognizes
.avifURLs as images - ✅ Enables preview for AVIF images
- ✅ Works with Autoimage and Markdown
- ⚠️ Image dimensions require PHP 8.2+ (AVIF support in
getimagesize())
Requirements
- Flarum ^1.0
- PHP 8.2+ (recommended for full functionality with image dimensions)
Installation
composer require dshovchko/flarum-avif-support
Usage
Once enabled, simply paste AVIF image URLs in your posts:
https://example.com/image.avif
Or use Markdown:

Compatibility
- Works with
dshovchko/flarum-image-dimensionsextension - PHP 8.1: AVIF images display but dimensions may not be detected
- PHP 8.2+: Full support including automatic dimension detection
Links
License
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-06