PHPackages                             nystudio107/craft3-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. [Templating &amp; Views](/categories/templating)
4. /
5. nystudio107/craft3-minify

Abandoned → [nystudio107/craft-minify](/?search=nystudio107%2Fcraft-minify)Craft-plugin[Templating &amp; Views](/categories/templating)

nystudio107/craft3-minify
=========================

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

1.2.9(7y ago)364.2k3[1 issues](https://github.com/nystudio107/craft3-minify/issues)[2 PRs](https://github.com/nystudio107/craft3-minify/pulls)MITPHP

Since Feb 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nystudio107/craft3-minify)[ Packagist](https://packagist.org/packages/nystudio107/craft3-minify)[ RSS](/packages/nystudio107-craft3-minify/feed)WikiDiscussions develop-v5 Synced 4w ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/533006445e72a3afa580a418598d9b8327d31f41fb81a85605f3778911276f94/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d6d696e6966792f6261646765732f7175616c6974792d73636f72652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-minify/?branch=v5) [![Code Coverage](https://camo.githubusercontent.com/5344dc454dc0259c471ecc7755e06b92d0167a3b312e4e25b06c220597d85be8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d6d696e6966792f6261646765732f636f7665726167652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-minify/?branch=v5) [![Build Status](https://camo.githubusercontent.com/4845a9776d5ba53b90cb99e666b8071f243736c0e9663cee4081e836a377339d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d6d696e6966792f6261646765732f6275696c642e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-minify/build-status/v5) [![Code Intelligence Status](https://camo.githubusercontent.com/1368071173524302b480e23e24b0619fa5c0237d90aedb5febff3cc48eb63795/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d6d696e6966792f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d7635)](https://scrutinizer-ci.com/code-intelligence)

Minify plugin for Craft CMS 5.x
===============================

[](#minify-plugin-for-craft-cms-5x)

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates

[![Screenshot](./docs/docs/resources/img/plugin-logo.png)](./docs/docs/resources/img/plugin-logo.png)

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

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later.

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

[](#installation)

1. Install with Composer via `composer require nystudio107/craft-minify` from your project directory
2. Install the plugin via `./craft install/plugin minify` via the CLI -or- in the Craft Control Panel under Settings &gt; Plugins

You can also install Minify via the **Plugin Store** in the Craft Control Panel.

Documentation
-------------

[](#documentation)

Click here -&gt; [Minify Documentation](https://nystudio107.com/plugins/minify/documentation)

Brought to you by [nystudio107](https://nystudio107.com/)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% 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 ~59 days

Total

10

Last Release

2901d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7570798?v=4)[Andrew Welch](/maintainers/khalwat)[@khalwat](https://github.com/khalwat)

---

Top Contributors

[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (75 commits)")[![XhmikosR](https://avatars.githubusercontent.com/u/349621?v=4)](https://github.com/XhmikosR "XhmikosR (1 commits)")

---

Tags

craft-plugincraft3craftcmsminifyminifycmsCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/nystudio107-craft3-minify/health.svg)

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

###  Alternatives

[nystudio107/craft-minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

36466.3k34](/packages/nystudio107-craft-minify)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.6k1](/packages/wbrowar-guide)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.5k](/packages/verbb-footnotes)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1087.5k](/packages/jalendport-craft-preparse)[verbb/color-mixer

A set of Twig filters for modifying colors.

1321.1k](/packages/verbb-color-mixer)[vierbeuter/craft-footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

212.7k](/packages/vierbeuter-craft-footnotes)

PHPackages © 2026

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