PHPackages                             aaronvangeffen/awstatsparser - 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. aaronvangeffen/awstatsparser

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

aaronvangeffen/awstatsparser
============================

A series of classes to help read and merge Awstats data files

v2.0(9mo ago)113.0k6BSD-2-ClausePHPPHP &gt;=8.0

Since Feb 4Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/AaronVanGeffen/AwstatsParser)[ Packagist](https://packagist.org/packages/aaronvangeffen/awstatsparser)[ Docs](https://github.com/AaronVanGeffen/AwstatsParser)[ RSS](/packages/aaronvangeffen-awstatsparser/feed)WikiDiscussions master Synced 2d ago

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

AwstatsParser
=============

[](#awstatsparser)

This package contains a series of classes to help read and merge Awstats data files. It includes an example that can be used to merge Awstats data files via a posix commandline.

Class description
-----------------

[](#class-description)

The package contains three classes:

- `AwstatsFile`, used to read existing Awstats statistics from file;
- `AwstatsMerger`, used to merges instances of `AwstatsFile`;
- `AwstatsFromFile`, a deprecated interface class.

Merging files
-------------

[](#merging-files)

The `awmerge.php` script included in the package may be used to easily merge Awstats data files from a shell. CLI arguments are the filenames to merge; the merged statistics file will be echoed to the output buffer (e.g. STDOUT) and can be piped.

Let’s give an example. Say you have two Awstats statistics files `awstats062010.aaronweb.net.txt` and `awstats062010.projects.aaronweb.net.txt`, and the AwParse script as `awparse.php`. Assuming php is the binary for php-cli, you’d merge these files by executing:

```
$ php awparse.php awstats062010.www.aaronweb.net.txt awstats062010.projects.aaronweb.net.txt > awstats062010.aaronweb.net.txt

```

To do
-----

[](#to-do)

- Import mode: only add unique missing data, or merge all data
- Prefixes and suffixes for URLs on import, i.e. adding /projects as a prefix

Contributing
------------

[](#contributing)

Bug reports and pull requests are most welcome through Github. The repository is located at:

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance57

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~1050 days

Total

4

Last Release

284d ago

Major Versions

v1.4.1 → v2.02025-09-23

PHP version history (2 changes)v1.3PHP &gt;=5.3.0

v2.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/604665?v=4)[Aaron van Geffen](/maintainers/AaronVanGeffen)[@AaronVanGeffen](https://github.com/AaronVanGeffen)

---

Top Contributors

[![AaronVanGeffen](https://avatars.githubusercontent.com/u/604665?v=4)](https://github.com/AaronVanGeffen "AaronVanGeffen (22 commits)")[![DrDaveD](https://avatars.githubusercontent.com/u/2129743?v=4)](https://github.com/DrDaveD "DrDaveD (4 commits)")

---

Tags

mergestatisticsawstats

### Embed Badge

![Health badge](/badges/aaronvangeffen-awstatsparser/health.svg)

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

###  Alternatives

[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.6M54](/packages/markrogoyski-math-php)[wnx/laravel-stats

Get insights about your Laravel Project

1.7k1.8M7](/packages/wnx-laravel-stats)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2801.6M5](/packages/rubix-tensor)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341876.3k30](/packages/gehrisandro-tailwind-merge-laravel)[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.8M12](/packages/gehrisandro-tailwind-merge-php)[hi-folks/statistics

PHP package that provides functions for calculating mathematical statistics of numeric data.

402119.3k](/packages/hi-folks-statistics)

PHPackages © 2026

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