A
pan
65.8
1,272 stars · MIT
Analytics
PostHog leads by 27.2 · decisive
A
65.8
1,272 stars · MIT
B · leads
93.0
40,849 stars · MIT
pan versus PostHog is a Analytics comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. pan is written mainly in PHP; PostHog is written mainly in Python. The composite score is 65.8 for pan and 93.0 for PostHog.
PostHog has 40,849 GitHub stars to pan's 1,272, a gap of 39,577 (32.11×). Forks are 63 for pan and 3,696 for PostHog. On the log scale used inside this pair, adoption is 67 versus 100, and the fork community is 51 versus 100.
Push history: pan was last pushed on 12 April 2026 (224 days ago), and PostHog was last pushed on 17 November 2026 (5 days ago). Open issues stand at 15 for pan (0.012 per star) and 4,463 for PostHog (0.109 per star). Issue-health scores are 84 and 52; activity scores are 36 and 92.
Both pan and PostHog are listed as MIT. A permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. The license score is therefore level at 96 versus 96, and the decision moves to adoption, activity, and hosting. This is a procurement signal, not legal advice.
In Analytics, both pan (1,272 stars) and PostHog (40,849 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: pan is open source, PostHog is freemium.
The lead is split. pan is furthest ahead on issue health (84 to 52), while PostHog is furthest ahead on recent activity (92 to 36). Choose the dimension a rollout cannot compromise on.
PostHog finishes ahead at 93.0 against pan at 65.8, a 27.2 point decisive margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | pan | PostHog |
|---|---|---|
| GitHub stars | 1,272 | 40,849 |
| Forks | 63 | 3,696 |
| Open issues | 15 | 4,463 |
| Adoption | 67 | 100 |
| Activity | 36 | 92 |
| Community | 51 | 100 |
| Issue health | 84 | 52 |
| License | 96 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 65.8 | 93.0 |
A simple, lightweight, and privacy-focused product analytics php package
PostHog is a product-analytics suite: events, funnels, session replay, and feature flags. The core is open source and most teams choose between self-hosting and PostHog Cloud.
PostHog has more GitHub stars: 40,849 versus 1,272 for pan. The gap is 39,577 stars.
PostHog was pushed more recently: 17 November 2026 versus 12 April 2026 for pan. That is 219 days apart.
Yes. This catalog marks both pan and PostHog as self-hostable. Confirm each project's deploy docs before you plan a migration.
pan is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. PostHog is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
PostHog scores 93.0 and pan scores 65.8. This page calls that a decisive lead for PostHog.