huseyinfiliz / rewind
A year-in-review recap for Flarum.
Package info
github.com/huseyinfiliz/rewind
Language:TypeScript
Type:flarum-extension
pkg:composer/huseyinfiliz/rewind
Requires
- php: ^8.3
- flarum/core: ^2.0
Requires (Dev)
- flarum/phpstan: *
- flarum/testing: ^2.0
Suggests
- flarum/emoji: Required for emoji CDN image rendering
- flarum/likes: Required for likes received/given and best friend metrics
- flarum/mentions: Required for mentions received/given and best friend mentions metrics
- flarum/tags: Required for top tag metric
- fof/badges: Required for badges earned and badge leaderboard metrics
- fof/best-answer: Required for best answers and leaderboard metrics
- fof/reactions: Required for community total reactions metric
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-15 13:29:23 UTC
README
A year-in-review extension for Flarum forums. Allow your community and users to look back at their yearly statistics, top posts, and community milestones with beautiful animations and a personalized slideshow interface.
π¨ Personalized Rewind Slideshow
π Community Snapshot
βοΈ Admin Settings & Generation
Features
- π Community Snapshot: Overview of new users, top discussions, and busiest months.
- π€ Personalized Rewind: Individual metrics like post count, best posts, word counts, and night-owl statistics.
- π¨ Slideshow UI: Beautiful, animated slideshow interface for users to experience their year.
- π Ecosystem Integration: Automatically fetches optional metrics if compatible extensions are enabled.
- π Customizable Blade Templates: Full artistic freedom to override annual recaps with custom Laravel Blade templates that persist across Composer updates.
- π Per-Year Presentation Modes: Choose between the animated interactive slideshow or custom Blade views on a per-year basis.
- π± Responsive Design: Optimized layout for mobile, tablet, and desktop viewing.
Installation
composer require huseyinfiliz/rewind:"*"
After installing, run the following commands to apply the database changes and clear the cache:
php flarum migrate
php flarum cache:clear
Updating
composer update huseyinfiliz/rewind:"*"
php flarum migrate
php flarum cache:clear
To remove simply run composer remove huseyinfiliz/rewind.
Quick Start
For Users
- Users can access their personal rewind from their user profile.
- The community snapshot is available at Rewind page.
For Admins
- Enable the Rewind extension in your admin panel.
- In the extension settings, select the year you want to generate a Rewind for (e.g.,
2025). - Click the Generate button. (This process may take a few minutes depending on the size of your forum).
- Under the Templates & Blade tab, choose the desired Presentation Format (Interactive Slideshow or Custom Blade) for each year.
Important Note: Statistics for a past year are designed to be generated after that year has ended (e.g., generating 2025 data in January 2026).
π Customizable Blade Templates
In addition to the interactive animated slideshow, you can render annual recaps using custom Laravel Blade templates that persist across Composer updates:
- Set Presentation Format: In the admin panel under Templates & Blade, switch any year from Interactive Story Slideshow to Custom Blade Template.
- Override Views: Place custom
.blade.phpfiles insidestorage/rewind/views/:- User recaps:
user_{year}.blade.php(e.g.user_2025.blade.php) or fallbackuser.blade.php - Community recaps:
community_{year}.blade.php(e.g.community_2025.blade.php) or fallbackcommunity.blade.php
- User recaps:
- Template Variables: Views receive
$user,$metricsarray,$year,$forumTitle,$baseUrl, and$actor. The admin panel includes a complete variable reference and copyable snippets.
Optional Integrations
The rewind automatically integrates with these extensions when they are enabled:
| Extension | Metrics |
|---|---|
| flarum/likes | Most loved post, likes received/given, best friend |
| flarum/mentions | Most mentioned user, user who mentioned you the most |
| fof/badges | Badges earned during the year, badge leaderboard |
| fof/best-answer | Best answers count, best answers leaderboard |
| flarum/tags | Top community tag, user's top tag |
| fof/reactions | Total community reactions |
| flarum/emoji | CDN mirror address for emojis used in slides |
No configuration is needed β install the extension and the metrics will be collected automatically during the generation process.
π Translations
This extension comes with English translations. Community translations are welcome!
π Support & Contributing
If you find this extension useful, consider:
- β Starring the repository on GitHub
- π Contributing translations