PHPackages                             freshheads/webpack-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. freshheads/webpack-stats

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

freshheads/webpack-stats
========================

A PHP library to read the Webpack statistics file.

2.0.0(4y ago)193.8k↑20.7%21MITPHPPHP &gt;=7.4

Since Sep 15Pushed 3y ago7 watchersCompare

[ Source](https://github.com/freshheads/webpack-stats)[ Packagist](https://packagist.org/packages/freshheads/webpack-stats)[ RSS](/packages/freshheads-webpack-stats/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (1)

Webpack stats
=============

[](#webpack-stats)

[![Build Status](https://camo.githubusercontent.com/48ef18dc1365adbb6f15d8ce3cba8493f3ecf472f137e711c439e37aaddef50b/68747470733a2f2f7472617669732d63692e6f72672f667265736868656164732f7765627061636b2d73746174732e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/freshheads/webpack-stats)

A PHP library to read the [Webpack](https://webpack.github.io/) statistics file.

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

[](#installation)

Webpack-stats can easily be installed using [Composer](https://getcomposer.org/):

```
composer require freshheads/webpack-stats
```

Symfony bundle
--------------

[](#symfony-bundle)

We've create a Symfony Bundle that uses this library to include assets that are build by Webpack in our templates. This bundle is called the [FHWebpackBundle](https://github.com/freshheads/FHWebpackBundle).

Requirements
------------

[](#requirements)

This library works with PHP 5.6.0 and up.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~499 days

Total

5

Last Release

1537d ago

Major Versions

0.1.0 → 1.0.02017-08-07

1.1.0 → 2.0.02022-03-04

PHP version history (3 changes)0.1.0PHP &gt;=5.5.9

1.1.0PHP &gt;=5.6.0

2.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff992fa795ece06cce9b7703889c79e728c345d5abbfedd53b89b023ca3f0b95?d=identicon)[freshheads](/maintainers/freshheads)

---

Top Contributors

[![fastnloud](https://avatars.githubusercontent.com/u/4117844?v=4)](https://github.com/fastnloud "fastnloud (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/freshheads-webpack-stats/health.svg)

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

###  Alternatives

[maize-tech/laravel-badges

Laravel Badges

376.6k](/packages/maize-tech-laravel-badges)

PHPackages © 2026

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