PHPackages                             crypto\_scythe/m\_nify - 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. crypto\_scythe/m\_nify

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

crypto\_scythe/m\_nify
======================

Simple JavaScript / CSS Minifier

1.0.0(11y ago)020MITPHPPHP &gt;=5.4.0

Since May 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/crypto-scythe/m_nify)[ Packagist](https://packagist.org/packages/crypto_scythe/m_nify)[ Docs](https://github.com/crypto-scythe/m_nify)[ RSS](/packages/crypto-scythe-m-nify/feed)WikiDiscussions master Synced 1mo ago

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

m\_nify - Simple JavaScript / CSS Minifier
==========================================

[](#m_nify---simple-javascript--css-minifier)

Simple PHP library for minifying and concatenating JavaScript and CSS files for use in my projects.

Installing
----------

[](#installing)

File **composer.json**

```
{
  "require": {
    "crypto_scythe/m_nify": "*"
  }
}

```

Then on command line:

```
composer install

```

Usage
-----

[](#usage)

```

```

To minify the files just add the GET parameter **files** to the file which instantiates the m\_nify object like this:

```
http://example.com/m_nify.php?files=/path/to/first_file.css,/path/to/second_file.css

```

Options
-------

[](#options)

Per default m\_nify uses the DOCUMENT\_ROOT for fetching the file. If you have your files in a different location you need to define the path like this before instantiating the m\_nify object.

```
define( 'M_NIFY_PATH', $_SERVER['DOCUMENT_ROOT'] . '/path/to/files' );

```

By using this you can shorten the paths or restrict it to a specific folder.

Additional Information
----------------------

[](#additional-information)

m\_nify automatically removes ".." from given file paths and automatically adds "/" in front of them so make sure you don't use relative paths when specifying files. However the ".." is allowed in the M\_NIFY\_PATH constant.

License
-------

[](#license)

m\_nify is licensed under the MIT License. See the LICENSE file for details.

Used libraries
--------------

[](#used-libraries)

JShrink from Robert Hafner - [Github](https://github.com/tedious/JShrink)
CssMin from Joe Scylla - [Github](https://github.com/natxet/CssMin) / [Google Code](http://code.google.com/p/cssmin/)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

4032d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a93df05505552ed0d6d26f8abe11f0ce95ed47992b9c0766ff5b76407a40b5f?d=identicon)[crypto\_scythe](/maintainers/crypto_scythe)

---

Top Contributors

[![crypto-scythe](https://avatars.githubusercontent.com/u/908195?v=4)](https://github.com/crypto-scythe "crypto-scythe (5 commits)")

---

Tags

phpjavascriptcssminifyasset optimisationasset optimizationasset minification

### Embed Badge

![Health badge](/badges/crypto-scythe-m-nify/health.svg)

```
[![Health](https://phpackages.com/badges/crypto-scythe-m-nify/health.svg)](https://phpackages.com/packages/crypto-scythe-m-nify)
```

###  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)[nlac/nlsclientscript

Yii ClientScript extension for prevent reloading javascript and merging/minfying resources

208.2k](/packages/nlac-nlsclientscript)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)[bissolli/php-css-js-minifier

A PHP Class to merge and minify CSS and JavaScript files.

102.8k4](/packages/bissolli-php-css-js-minifier)[dkcwd/dkcwd-zf2-munee

Zend Framework 2 module leveraging 'munee' an asset optimisation library developed by Cody Lundquist. You can find munee at http://github.com/meenie/munee

102.1k](/packages/dkcwd-dkcwd-zf2-munee)

PHPackages © 2026

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