PHPackages                             hossamyousef/slim3-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. [Framework](/categories/framework)
4. /
5. hossamyousef/slim3-minify

ActiveLibrary[Framework](/categories/framework)

hossamyousef/slim3-minify
=========================

Minify html output in slim framework

0.0.1(9y ago)849.1k—3%MITPHPPHP &gt;=5.3.0

Since Jun 20Pushed 9y ago1 watchersCompare

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

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

slim minify
===========

[](#slim-minify)

Slim middleware to minify HTML output generated by the slim PHP framework. It removes whitespaces, empty lines, tabs beetween html-tags and comments to reduce traffic.

### Installation

[](#installation)

Use [Composer](https://getcomposer.org/)

```
$ composer require hossamyousef/slim3-minify
```

Requires Slim 3.0.0 or newer.

Usage
-----

[](#usage)

```
$app = new Slim\App();
$app->add(new \Slim\Middleware\Minify());
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a93d05310a229a4079b5dade5ac6936b0c326c390fd4baa1fb8511e9b3ceb78?d=identicon)[HossamYousef](/maintainers/HossamYousef)

---

Top Contributors

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

---

Tags

phpmiddlewareframeworkslimhtmlminify

### Embed Badge

![Health badge](/badges/hossamyousef-slim3-minify/health.svg)

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

###  Alternatives

[slim/php-view

Render PHP view scripts into a PSR-7 Response object.

2739.7M95](/packages/slim-php-view)[davidepastore/slim-config

A slim middleware to read configuration from different files based on hassankhan/config

338.9k1](/packages/davidepastore-slim-config)[bnf/slim3-psr15

PSR-15 middleware support for Slim Framework v3

10177.0k5](/packages/bnf-slim3-psr15)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

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