justoverclock/flachievements
Composer 安装命令:
composer require justoverclock/flachievements
包简介
Adds customized achievements to your forum
README 文档
README
Features
- Reward your users with forum achievements
- Achievements are given when replying, liking, uploading an avatar, creating a new discussion and more...
- Achievements can include points and an icon
Installation
composer require justoverclock/flachievements
Updating
composer update justoverclock/flachievements php flarum cache:clear
Usage
Intructions on how to create achievements are on the corresponding admin page.
Example
This is an example for an achievement with custom images:
- Name: Like-a-lot
- Active: yes
- Description: You liked more than 10 messages!
- Variable: Likes given 10
- Points for this achievement: 100
- Image URL: https://nucleoapp.com/assets/img/free-icons/free-glyph-icons@1x.png
- Image height: 96
- Image width: 96
- Row: 3
- Column: 5
You can look at the image we used for the example to understand how the image height, width, row and column works. You can also use one image per achievement, as long as the image has the exact size you want and you specify this size.
Example 2
This is an example for an achievement with Font Awesome icons:
- Name: Leader
- Active: yes
- Description: You started more than 10 discussions!
- Variable: Discussions 10
- Points for this achievement: 250
- Image URL: far fa-comments
In this case, we are using the icon far fa-comments as our achievement image. Here, there is no need to specify the image size or anything else.
Links
justoverclock/flachievements 适用场景与选型建议
justoverclock/flachievements 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.17k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「rewards」 「achievements」 「flarum」 「trophies」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 justoverclock/flachievements 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 justoverclock/flachievements 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 justoverclock/flachievements 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Simple, elegant Achievements the Laravel way
BayRewards PHP SDK for Laravel Framework - A comprehensive rewards platform integration for e-commerce stores.
Adds more BBCode
A comprehensive badge and achievement system for Flarum with conditional triggers, automatic awarding, and manual assignment.
Output of discussions lists in form of cards
Achievement-System for Laravel
统计信息
- 总下载量: 1.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-11-06