PHPackages                             shish/microbundler - 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. shish/microbundler

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

shish/microbundler
==================

A minimal CSS / JS bundler

v1.1.0(2mo ago)924.3k↓44.8%5MITPHPPHP ^8.4CI passing

Since Jan 1Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/shish/microbundler)[ Packagist](https://packagist.org/packages/shish/microbundler)[ Docs](https://github.com/shish/microbundler)[ RSS](/packages/shish-microbundler/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (6)Used By (0)

MicroBundler
============

[](#microbundler)

A tiny library to turn a bunch of CSS/JS files into single CSS/JS bundles, with source maps.

```
use \MicroBundler\MicroBundler;

$mb = new MicroBundler();
$mb->addSource("input1.css");
$mb->addSource("input2.css");
$mb->addSource("dynamic.css", ".my_class { color: red; }");
$mb->save("output.css");  // writes output.css + output.css.map
```

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

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

Total

4

Last Release

66d ago

PHP version history (3 changes)v1.0.0PHP ^8.1

v1.0.2PHP ^8.2

v1.1.0PHP ^8.4

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

cssJSbundler

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/shish-microbundler/health.svg)

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

###  Alternatives

[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[onokumus/metismenu

A jQuery menu plugin

2.0k263.3k5](/packages/onokumus-metismenu)[sciactive/pnotify

Beautiful JavaScript notifications.

3.6k6.4k](/packages/sciactive-pnotify)[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[jalle19/php-yui-compressor

A modern PHP wrapper for the YUI compressor

17972.2k3](/packages/jalle19-php-yui-compressor)[sensiolabs/minify-bundle

Assets Minifier (CSS, JS) for Symfony &amp; Minify integration in Asset Mapper

5694.9k1](/packages/sensiolabs-minify-bundle)

PHPackages © 2026

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