PackageTrack
Sign in Get early access

mrclay/minify

Minify is a PHP app that helps you follow several rules for client-side performance. It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers

4.0.2 19M downloads/mo #1381 most downloaded on Packagist mrclay/minify

What this package is like to depend on

Last release 6 months ago

14 Feb 2026

Release timing varies

gaps range from 2 weeks to 1.2 years

Most releases are documented

notes for 22 of 25 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

25 releases · first in 2013

1 release in the last 12 months

see the full history below

Release timeline

25 releases · Jul 2013 to Feb 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 25
  1. 4.0.2 14 Feb 2026
    Release notes

    What's Changed

    • Fix: Add scssphp 2.x compatibility while maintaining backward compatibility by @Be-Mann in #717

    New Contributors

    Full Changelog: 4.0.1...4.0.2

    Open source →
    Release notes
    • Add scssphp 2.x compatibility while maintaining backward compatibility, #715
    • Use CompilationResult::getIncludedFiles() for scssphp 2.x, fall back to Compiler::getParsedFiles() for scssphp 1.x
    Open source →
  2. 4.0.1 03 Feb 2025
    Release notes

    What's Changed

    • Recommend against use by @mrclay in #711
    • Fix htmlspecialchars incompatibility with php 8.1, #693
    • Add support for php 8.4 by @thirsch in #714

    New Contributors

    Full Changelog: 4.0.0...4.0.1

    Open source →
    Release notes
    • Recommend against use, #711
    • Fix htmlspecialchars incompatibility with php 8.1, #693
    • Support PHP 8.4, #714
    Open source →
  3. 4.0.0 04 Jan 2024
    Release notes

    What's Changed

    • Support only PHP 8.1+
    • Update PHPUnit to 8.x
    • Replace leafo/scssphp with scssphp/scssphp

    Full Changelog: 3.0.14...4.0.0

    Open source →
    Release notes
    • Support PHP 8.1+
    • Update PHPUnit to 8.x
    • Replace leafo/scssphp with scssphp/scssphp
    Open source →
  4. 3.0.14 05 May 2023
    Release notes
    • Support monolog v3, #705
    • Allow invalidation from manual invocation, #700
    • Add property declaration, #699
    Open source →
  5. 3.0.13 02 Oct 2022
    Release notes
    • Add Minify_Cache_APCu to replace Minify_Cache_APC, #697
    • Require marcusschwarz/lesserphp:^0.5.5 to fix php 7.4 compatibility, #688
    Open source →
  6. 3.0.12 14 May 2022
    Release notes
    • Update jquery to 1.12.4 to avoid xss attacks, #692
    • Fix null argument to preg_split, #696, #695
    Open source →
  7. 3.0.11 11 Mar 2021
    Release notes
    Open source →
  8. 3.0.10 02 Apr 2020
    Release notes
    • Exclude SSI Comments from HTML minify, #670, #671
    Open source →
  9. 3.0.9 24 Mar 2020
    Release notes
    Open source →
  10. 3.0.8 19 Mar 2020
    Release notes
    • Removed deprecated get_magic_quotes_gpc() function that since PHP 5.4.0 returns FALSE always, and since PHP 7.4 is deprecated, #661
    Open source →
  11. 3.0.7 10 Dec 2019
    Release notes
    • Allow mrclay/props-dic ^3.0, #658
    Open source →
  12. 3.0.6 28 Oct 2019
    Release notes
    • Bugfix for option sanitizer, #654, #655
    Open source →
  13. 3.0.5 01 Oct 2019
    Release notes
    • Fix syntax error in composer.json, #653
    Open source →
  14. 3.0.3 03 Nov 2017
    Release notes
    • Fix closure-compiler's error "redirection limit reached". #618, #619
    Open source →
  15. 3.0.2 14 Sep 2017
    Release notes
    • Fixes syntax error in Groups controller, #613
    • Better-maintained lessphp fork, #610
    • No longer corrupts some chars in some environments, #608
    Open source →
  16. 3.0.1 08 Jun 2017
    Release notes
    Open source →
  17. 3.0.0 03 Apr 2017
    Release notes
    • Improved CSS minification via Túbal Martín's CSSMin
    • Easier error identification (just see error_log)
    • Adds feature to serve static files directly
    • Adds config option for simply concatenating files
    • Adds config option for altering creation of Minify/MinApp objects
    • Missing spec no longer redirects, instead links to docs
    • Installation requires use of Composer to install dependencies
    • Minify::VERSION is an int that tracks the major version number
    • BREAKING: The project root is now what gets deployed as min
    • BREAKING: Removes JSMin
    • BREAKING: Removes JSMin+ (unmaintained, high memory usage)
    • BREAKING: Removes DooDigestAuth
    • BREAKING: Removes Minify_Loader (uses Composer)
    • BREAKING: Removes Minify_Logger (uses Monolog)
    • BREAKING: Removes $min_libPath option
    • BREAKING: The Minify, source, and controller components have changed APIs
    Open source →
  18. 2.3.3 03 Nov 2017

    Nothing published for this version

  19. 2.3.2 08 Jun 2017

    Nothing published for this version

  20. 2.3.1 03 Apr 2017

    Nothing published for this version

  21. 2.3.0 08 Mar 2016
    Release notes
    • Adds $min_concatOnly option to just concatenate files
    • Deprecates use of Minify_Loader
    • Deprecates use of Minify_Logger
    • Deprecates use of JSMinPlus
    • Deprecates use of FirePHP
    • Deprecates use of DooDigestAuth
    Open source →
  22. 2.2.1 30 Oct 2014
    Release notes
    • Builder styled with Bootstrap (thanks to help from acidvertigo)
    • Update CSSmin to v.2.4.8
    • Added WinCache
    • URLs with spaces properly rewritten
    Open source →
  23. 2.2.0 12 Mar 2014
    Release notes
    • Fix handling of RegEx in certain situations in JSMin
      • Thanks to Vovan-VE for reporting this
    • Update composer.json with support info
    • Add ability to set ClosureCompiler URL
      • Thanks Elan Ruusamäe for the pull request
    • Better report of temp directory errors
      • Also thanks to Elan Ruusamäe for anatoher pull request
    • Updated CSSmin and added Minify_CSSmin wrapper
    • Fix windows issue associated with long cache filenames
    • Fix issue with web-based tool
    • Fix bug in JSMin exceptions
    • Fix "about:blank" bug in CSS_UriRewriter
    • Cite is no longer a block element in HTML minification
    • Allow for definition of custom config locations outside of the min directory
      • Thanks Sam Bauers for the pull request
    • Allow option for overriding the maximum byte size POST limit for ClosureCompiler and other additions
      • Thanks Joscha Feth for the code
    • Fixes to file-relative URL identification in UriRewriter
    • Allow far-future expiration and file versioning with the "v" querystirng parameter in addition to existing method
    • Lots of general code tidy ups
    Open source →
  24. 2.1.7 23 Jul 2013
    Release notes
    • Fixes arbitrary file inclusion vulnerability on some systems
      • Thanks to Matt Mecham for reporting this
    Open source →
  25. 2.1.6 20 Jul 2013
    Release notes
    • JSMin fixes
    • Prevents some Closure Compiler API failures
    • Uses autoloading for all class loading
    • Multiple group support in HTML Helper
    • Cache adaptor for XCache
    • Allow setting stack-size in YUI Compressor wrapper
    • Adds jsCleanComments option to HTML minifier
    • Upgrades CSSmin
    • CLI script more portable
    • Adds composer.json
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive