PHPackages                             staabm/simple-stats - 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. staabm/simple-stats

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

staabm/simple-stats
===================

071PHP

Since May 15Pushed 4y ago2 watchersCompare

[ Source](https://github.com/staabm/Simple-Stats)[ Packagist](https://packagist.org/packages/staabm/simple-stats)[ RSS](/packages/staabm-simple-stats/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Simple Stats - PHP web statistics software
==========================================

[](#simple-stats---php-web-statistics-software)

Simple Stats is web statistics software written in PHP. It aims to be a simple and lightweight web statistics application that lets you analyse basic information about traffic on your website. It lets you track and filter the following:

- Page views
- Client browsers and operating Systems
- Visitor IP addresses
- Visitor origin by country
- Visitor language
- Referrers
- Search queries leading to your site

Simple Stats is not a fully-fledged analytics application — for that you might consider Piwik.

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

[](#installation)

Unpack everything to your web server and then visit `/simple-stats/index.php` in your web browser and follow the instructions. Let me know when the automagical installation falls flat on its face :).

Geolocation
-----------

[](#geolocation)

Simple Stats supports the MaxMind geolocation database, but you will need to manually download the database (it's free) from [their website](http://www.maxmind.com/app/geolitecountry "MaxMind Geolite Country Database") and place it in the `geoip` folder.

Alternatively, if you already have geolocation software in place, just define the `SIMPLE_STATS_GEOIP_COUNTRY` constant in PHP before calling the hit counter, and Simple Stats will automatically use that. You should set the constant to the two-letter country code that corresponds to the country your software has identified.

System requirements:
--------------------

[](#system-requirements)

- PHP v5.2.4 or greater, with mbstring extension
- MySQL v5.0 or greater

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/99d4e5e5fa8fb7d0782de39b43c558953d0a5881a7ba596b90ed9c312db8c4d9?d=identicon)[staabm](/maintainers/staabm)

---

Top Contributors

[![solarissmoke](https://avatars.githubusercontent.com/u/160227?v=4)](https://github.com/solarissmoke "solarissmoke (64 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (4 commits)")

### Embed Badge

![Health badge](/badges/staabm-simple-stats/health.svg)

```
[![Health](https://phpackages.com/badges/staabm-simple-stats/health.svg)](https://phpackages.com/packages/staabm-simple-stats)
```

###  Alternatives

[salmanzafar/laravel-geocode

A Laravel Library to find Lat and Long of a given Specific Address

154.3k](/packages/salmanzafar-laravel-geocode)

PHPackages © 2026

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