PHPackages                             haykalmedia/count-everything - 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. haykalmedia/count-everything

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

haykalmedia/count-everything
============================

Async counting of visits to each post

1.0.1(11y ago)1191MITPHP

Since Dec 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/HaykalMedia/count-everything)[ Packagist](https://packagist.org/packages/haykalmedia/count-everything)[ RSS](/packages/haykalmedia-count-everything/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Count Everything
================

[](#count-everything)

WordPress plugin to async counting of visits to each post.

Installation
------------

[](#installation)

If you are using [composer](http://getcomposer.org) add this line to the required section:

```
"haykalmedia/count-everything": "dev-master",

```

**Note:** the package has not been added to composer main repositories, so you have to explicit declare the repository as *vcs*, to do that, add **repository** section in composer if not already exists, then add the package git url, you will have something similar to:

```
"name": "your-package-name",
"repositories": [
    {
        "type": "vcs",
        "url":  "git@github.com:HaykalMedia/count-everything.git"
    }
],
"require": {
    "haykalmedia/count-everything": "dev-master",
}
```

If you are not using composer, then you can download [zip file](https://github.com/HaykalMedia/count-everything/archive/master.zip) and extract it in `wp-content/plugins` folder.

Usage
-----

[](#usage)

You can now order posts by popular ones if you are using `WP_Query` by adding a query var `popular_posts` or `popular_posts_total` to the args or by setting the order by variable to `popular_posts`.

By default the query order posts by most popular posts in the current year.

To get most popular posts in the last week, add popular\_posts query var and assign `week` as its value.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 90.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 ~0 days

Total

2

Last Release

4224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89e45ccb6f3e73bd285350b01ee7c65f63c37d2d2bbaf059d534e31eeb3a7a49?d=identicon)[AAlakkad](/maintainers/AAlakkad)

---

Top Contributors

[![AmmarCodes](https://avatars.githubusercontent.com/u/351256?v=4)](https://github.com/AmmarCodes "AmmarCodes (10 commits)")[![louy](https://avatars.githubusercontent.com/u/349850?v=4)](https://github.com/louy "louy (1 commits)")

---

Tags

pluginwordpresscount

### Embed Badge

![Health badge](/badges/haykalmedia-count-everything/health.svg)

```
[![Health](https://phpackages.com/badges/haykalmedia-count-everything/health.svg)](https://phpackages.com/packages/haykalmedia-count-everything)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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