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(3mo ago)930.2k↑24%5[2 PRs](https://github.com/shish/microbundler/pulls)MITPHPPHP ^8.4CI passing

Since Jan 1Pushed 2d 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 2d ago

READMEChangelogDependencies (8)Versions (8)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

55

—

FairBetter than 97% of packages

Maintenance91

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

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

112d 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 (21 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.0k33.1M462](/packages/matthiasmullie-minify)[onokumus/metismenu

A jQuery menu plugin

2.0k271.0k5](/packages/onokumus-metismenu)[stolz/assets

An ultra-simple-to-use assets management library

289531.9k8](/packages/stolz-assets)[sensiolabs/minify-bundle

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

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

A modern PHP wrapper for the YUI compressor

16980.4k3](/packages/jalle19-php-yui-compressor)[onokumus/metismenujs

A menu plugin

13210.4k](/packages/onokumus-metismenujs)

PHPackages © 2026

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