PHPackages                             thoughtco/statamic-minify - 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. thoughtco/statamic-minify

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

thoughtco/statamic-minify
=========================

Automatically minifies CSS and JS files on a Statamic v3 site

2.0.2(2y ago)05.4k↓50%PHP

Since Feb 15Pushed 2y ago5 watchersCompare

[ Source](https://github.com/thoughtco/statamic-minify)[ Packagist](https://packagist.org/packages/thoughtco/statamic-minify)[ RSS](/packages/thoughtco-statamic-minify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (18)Used By (0)

Statamic Minify
===============

[](#statamic-minify)

Add on for Statamic v3 to combine and minify all CSS and JS files found in the page response.

Features
--------

[](#features)

- Conditionally minify CSS or JS
- Group together specific files using data-group on your link or script element
- No pre-processing or combining of files required

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

[](#installation)

Install by composer: `composer require thoughtco/statamic-minify`

A new config file will be published, and you can modify the minification settings in `config/thoughtco/minify.php`.

Static Caching
--------------

[](#static-caching)

If you are using static caching, add `\Thoughtco\Minify\Replacers\MinifyReplacer::class` to your `statamic.static_caching.replacers` array.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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 ~70 days

Recently: every ~129 days

Total

17

Last Release

802d ago

Major Versions

1.3.0 → 2.0.02024-02-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/51899?v=4)[Ryan Mitchell](/maintainers/ryanmitchell)[@ryanmitchell](https://github.com/ryanmitchell)

---

Top Contributors

[![ryanmitchell](https://avatars.githubusercontent.com/u/51899?v=4)](https://github.com/ryanmitchell "ryanmitchell (30 commits)")

### Embed Badge

![Health badge](/badges/thoughtco-statamic-minify/health.svg)

```
[![Health](https://phpackages.com/badges/thoughtco-statamic-minify/health.svg)](https://phpackages.com/packages/thoughtco-statamic-minify)
```

###  Alternatives

[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[grafite/forms

A remarkably magical form package for Laravel.

376.5k1](/packages/grafite-forms)

PHPackages © 2026

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