activecollab/insight
Composer 安装命令:
composer require activecollab/insight
包简介
Simple user engagement tracking library
README 文档
README
Account Status
An account can have following statuses:
- Trial - User is in trial mode. Conversion or cancelation is expected. If not, we'll consider an account as retired.
- Free - User is using an account in free mode. What this means to your app may very, but from Insight's perspective, it means that you have 0 MRR from this account,
- Paid - User is paying for the service. MRR must exist (and we all know that MRR is good for business),
- Retired - Account got archived because of "neglect" (user stopped testing the software, or paying, but did not convert or cancel; payment failed and user did not update billing info etc),
- Canceled - Account is archived (or even completely removed) because user request that.
Metrics
By adding account data as important account events happen, Insight will be able to provide following numbers:
- Conversion rate (visitors to trial as first step, and trial to paid as second step),
- Number of trial, free, paid, retired and canceled accounts on each day,
- Various timelines for accounts (status changes, MRR changes, plan and billing period changes)
- Monthly Recurring Revenue (MMR)
- Average Revenue per User (ARPU)
- Churn Rate (coming soon)
- Customer Lifetime (coming soon)
- Customer Lifetime Value (coming soon)
MRR
Monthly Recurring Revenue (MMR) shows how much revenue are you getting each month from your users. It's calculated as sum of MRR values of each paying account on a given day. To get the value, simply call:
$insight->accounts->mrr->getOnDay(); // Today $insight->accounts->mrr->getOnDay(new DateValue('2016-02-22')); // Specific day
ARPU
Average Revenue per User (ARPU) shows you how much monthly revenue do you get per user on average. You can grow your business quite a bit by focusing on increase of ARPU (using upgrades, plan changes etc), so it's good to keep an eye on this number. To get the value, call:
$insight->accounts->arpu->getOnDay(); // Today $insight->accounts->arpu->getOnDay(new DateValue('2016-02-22')); // Specific day
Running Tests
cd to this directory and run:
phpunit
activecollab/insight 适用场景与选型建议
activecollab/insight 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.57k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 06 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「user」 「Metrics」 「saas」 「activecollab」 「engagement」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 activecollab/insight 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 activecollab/insight 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 activecollab/insight 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Plans is a package for SaaS apps that need management over plans, features, subscriptions, events for plans or limited, countable features.
A abstraction for generating metrics in Laravel.
Laravel SDK for working with prometheus metrics
Production-ready Laravel Prometheus metrics package with built-in collectors for HTTP, database, cache, queue, events, errors, filesystem, and mail monitoring
Tool to show code coverage metrics, measured by PHP Unit in Cobertura format, in console and CI/CD pipeline
Asaas.com PHP API v3 Wrapper
统计信息
- 总下载量: 2.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-03