PHP Package: mrclay/minify

MrClay's Minify library provides efficient PHP-based minification for web assets, enhancing website performance and load times.

Current Version: 4.0.1
Last Updated: 2025-02-03
PHP Requirement: ^8.1
Dependencies:
mrclay/minify-dependency1
mrclay/minify-dependency2
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Minify is a powerful PHP library designed to optimize and compress CSS and JavaScript files, ultimately improving website speed and search engine rankings. It offers a comprehensive set of features, including file combination, HTTP headers optimization, and code obfuscation, making it an essential tool for web developers and designers seeking performance enhancements.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.0.1

Download Download v4.0.1

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/mrclay/minify/4.0.1/loader.php';
require_once 'libs/mrclay/minify-dependency1/{lib_version}/loader.php';
require_once 'libs/mrclay/minify-dependency2/{lib_version}/loader.php';

use MrClay\Minify\Minify;
use MrClay\Minify\CSS;

$obj = new Minify();
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.