PHPackages                             activecollab/insight - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. activecollab/insight

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

activecollab/insight
====================

Simple user engagement tracking library

0.10.2(9y ago)02.6kMITPHPPHP &gt;=7.0.0

Since Jun 3Pushed 9y ago12 watchersCompare

[ Source](https://github.com/activecollab/Insight)[ Packagist](https://packagist.org/packages/activecollab/insight)[ Docs](https://labs.activecollab.com/index.html)[ RSS](/packages/activecollab-insight/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Insight
=======

[](#insight)

[![Build Status](https://camo.githubusercontent.com/811930c2cfb226af84d57a11ed25a53cfec0f8b5a7a7ace64eef419f8c43bd60/68747470733a2f2f7472617669732d63692e6f72672f616374697665636f6c6c61622f696e73696768742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/activecollab/insight)

Account Status
--------------

[](#account-status)

An account can have following statuses:

1. **Trial** - User is in trial mode. Conversion or cancelation is expected. If not, we'll consider an account as retired.
2. **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,
3. **Paid** - User is paying for the service. MRR must exist (and we all know that MRR is good for business),
4. **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),
5. **Canceled** - Account is archived (or even completely removed) because user request that.

Metrics
-------

[](#metrics)

By adding account data as important account events happen, Insight will be able to provide following numbers:

1. Conversion rate (visitors to trial as first step, and trial to paid as second step),
2. Number of trial, free, paid, retired and canceled accounts on each day,
3. Various timelines for accounts (status changes, MRR changes, plan and billing period changes)
4. Monthly Recurring Revenue (MMR)
5. Average Revenue per User (ARPU)
6. Churn Rate (coming soon)
7. Customer Lifetime (coming soon)
8. Customer Lifetime Value (coming soon)

### MRR

[](#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

[](#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
-------------

[](#running-tests)

`cd` to this directory and run:

```
phpunit
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~137 days

Total

4

Last Release

3591d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.5.0

0.10.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/729914?v=4)[Ilija Studen](/maintainers/ilijastuden)[@ilijastuden](https://github.com/ilijastuden)

---

Top Contributors

[![ilijastuden](https://avatars.githubusercontent.com/u/729914?v=4)](https://github.com/ilijastuden "ilijastuden (118 commits)")[![perajovic](https://avatars.githubusercontent.com/u/747716?v=4)](https://github.com/perajovic "perajovic (9 commits)")

---

Tags

userMetricssaasactivecollabengagement

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/activecollab-insight/health.svg)

```
[![Health](https://phpackages.com/badges/activecollab-insight/health.svg)](https://phpackages.com/packages/activecollab-insight)
```

###  Alternatives

[hyn/multi-tenant

Run multiple websites using the same laravel installation while keeping tenant specific data separated for fully independant multi-domain setups.

2.6k1.1M9](/packages/hyn-multi-tenant)[tenancy/tenancy

Creating multi tenant saas from your Laravel app with ease

1.3k43.6k](/packages/tenancy-tenancy)[api-platform/metadata

API Resource-oriented metadata attributes and factories

243.5M96](/packages/api-platform-metadata)[zachleigh/laravel-property-bag

Easy Laravel user settings using a property bag

85340.3k](/packages/zachleigh-laravel-property-bag)[grafana/foundation-sdk

A set of tools, types and libraries for building and manipulating Grafana objects.

21834.3k](/packages/grafana-foundation-sdk)[square1/nova-metrics

Add support for resource-filters on your laravel nova metrics

27278.7k](/packages/square1-nova-metrics)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
