PHP Package: matthiasmullie/minify

MatthiasMullie's Minify PHP library efficiently compresses files for faster web loading.

Current Version: 1.3.75
Last Updated: 2025-06-25
PHP Requirement: >=5.3.0
Dependencies:
matthiasmullie/path-converter
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Minify is a powerful PHP library created by MatthiasMullie. It optimizes and compresses CSS and JS files, enhancing website speed and performance. With Minify, developers can easily reduce file sizes and improve loading times, resulting in better user experience and SEO rankings. This library offers a simple, yet effective solution for web developers looking to streamline their projects.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.3.75

Download Download v1.3.75

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/matthiasmullie/minify/1.3.75/loader.php';
require_once 'libs/matthiasmullie/path-converter/{lib_version}/loader.php';

use MatthiasMullie\Minify\CSS;
use MatthiasMullie\Minify\JS;

$obj = new CSS();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.