PHPackages                             lordealeister/popular-posts - 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. lordealeister/popular-posts

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

lordealeister/popular-posts
===========================

Enable view count on posts

1.3.1(4y ago)2115MITPHP

Since Aug 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lordealeister/popular-posts)[ Packagist](https://packagist.org/packages/lordealeister/popular-posts)[ Docs](https://studiovisual.com.br)[ RSS](/packages/lordealeister-popular-posts/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (2)Versions (11)Used By (0)

Popular posts
=============

[](#popular-posts)

Enable view count on posts

Usage
=====

[](#usage)

Posts views are tracked automatically. To set view manually, use:

```
set_post_view() // Current post
set_post_view($post_id) // Specific post

```

To get post total views:

```
get_post_views(); // Current post
get_post_views($post_id); // Specific post

```

To get most popular posts:

```
get_popular_posts($args); // Pass additional args to query

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.8% 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 ~11 days

Total

9

Last Release

1637d ago

Major Versions

0.0.1 → 1.0.02021-08-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/33c9e4981f59485bd5d0c11fb04855c69a68e00703433f26719613d63d5964c6?d=identicon)[lordealeister](/maintainers/lordealeister)

---

Top Contributors

[![lordealeister](https://avatars.githubusercontent.com/u/3637910?v=4)](https://github.com/lordealeister "lordealeister (30 commits)")[![tiagopapile](https://avatars.githubusercontent.com/u/82596706?v=4)](https://github.com/tiagopapile "tiagopapile (17 commits)")

### Embed Badge

![Health badge](/badges/lordealeister-popular-posts/health.svg)

```
[![Health](https://phpackages.com/badges/lordealeister-popular-posts/health.svg)](https://phpackages.com/packages/lordealeister-popular-posts)
```

###  Alternatives

[rankmath/seo-by-rank-math

Rank Math is the most powerful way to get BEST WordPress SEO tools added to your website.

1252.0k](/packages/rankmath-seo-by-rank-math)

PHPackages © 2026

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