nitra/php-min
PhpMin is a Composer-ready PHP port of the classic CssMin and JsMinPlus tools. It provides simple minification/formatting utilities for CSS and JavaScript assets, packaged for easy installation and use in PHP projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| meenie/javascript-packer | 0.87 | PHP library for packing and minifying JavaScript using Dean Edwards’ Packer algorithm. Compresses JS to reduce size and improve load times, with simple PHP API for integrating into builds or runtime processing in Laravel and other projects. | 44 | 42 | 12 | 27K | 2 | 1.0 | 38.2 | — | — | |
| sema/minifier-bundle | 0.86 | Sema Minifier Bundle integrates configurable HTML, CSS, and JavaScript minification into Symfony applications. It compresses responses and assets on the fly, supports caching and filters, and helps reduce page weight, load times, and bandwidth with minimal changes to existing templates. | 5 | 6 | 10 | 1 | 1 | 0.5 | 0.9 | MIT | — | |
| devfactory/minify | 0.85 | A Laravel middleware that automatically minifies HTML responses, removing unnecessary whitespace, comments, and redundant markup to shrink payloads and speed up page loads. Easy to install and configurable per route, it reduces output size without changing your views or build setup. | 82 | 87 | 30 | 10K | 13 | 5.4 | 33.6 | MIT | 3 years ago | |
| matthiasmullie/minify | 0.84 | — | 2,040 | 2,341 | 332 | 1M | 97 | 69.2 | 73.1 | MIT | 3 days ago | |
| gkralik/php-uglifyjs | 0.84 | PHP port of Dean Edwards’ JavaScript Packer for minifying/packing JS. Install via Composer and compress a script with GK\JavascriptPacker->pack(), choosing encoding (0/10/62/95), optional fast decoder, and special chars handling. | 35 | 35 | 15 | 4K | 2 | 1.0 | 28.4 | LGPL-2.1 | — | |
| davidjegat/assetic-minifier-bundle | 0.84 | — | 8 | 8 | 1 | 0 | 1 | 0.2 | — | MIT | — | |
| leafo/lessphp | 0.84 | leafo/lessphp is a PHP compiler for the LESS CSS language. Compile .less files to CSS in your apps or build scripts, with support for variables, mixins, nesting, imports, and other core LESS features, plus caching and CLI usage. | 2,173 | 2,207 | 509 | 19K | 185 | 45.9 | 38.2 | NOASSERTION | — | |
| wa72/html-pretty-min | 0.84 | wa72/html-pretty-min is a PHP library for minifying and pretty-printing HTML. It removes unnecessary whitespace to compress markup and can reformat HTML for readable output, helping optimize templates and generated pages. | 22 | 22 | 9 | 5K | 4 | 1.4 | 32.5 | MIT | 1 year ago | |
| fahlisaputra/laravel-minify | 0.84 | A Laravel middleware package that minifies HTML, CSS, and JavaScript responses on the fly. Reduce page size and improve load times with simple configuration, optional caching, and support for custom minifier drivers—no build tools required. | 148 | 149 | 23 | 27K | 13 | 16.1 | 38.5 | MIT | 6 months ago | |
| fitztrev/laravel-html-minify | 0.84 | Laravel HTML Minify is middleware that automatically compresses HTML responses by removing extra whitespace, comments, and optional attributes, reducing page size and improving load times with simple installation and configuration. | 411 | 423 | 43 | 36 | 10 | 6.4 | 4.3 | MIT | — | |
| backstage/laravel-minify-html-middleware | 0.84 | A Laravel middleware that minifies HTML responses on the fly, trimming whitespace and redundant markup to shrink payloads and speed up page delivery without touching your views or blade templates. | 6 | 6 | 0 | 1K | 2 | 0.4 | 31.2 | MIT | — | |
| graham-campbell/htmlmin | 0.83 | Laravel wrapper around HTMLMin that compresses your app's HTML output on the fly, stripping comments and unnecessary whitespace. Integrates via service provider and facade, and can be applied globally or to specific responses to shrink page size and speed up delivery. | 0 | 948 | — | 2K | — | 0.3 | 46.7 | — | — | |
| cerdic/css-tidy | 0.83 | CSSTidy is a PHP CSS parser and minifier with full CSS3 support. Optimizes and fixes styles without regex for higher reliability. Includes web UI, core parser class, and a standalone CLI (pcsstidy). | 211 | 211 | 62 | 28K | 2 | 3.6 | 30.5 | LGPL-2.1 | — | |
| marcusschwarz/lesserphp | 0.83 | PHP port of LESS compiler for Laravel and other projects. Compile .less files to CSS in your build or runtime workflow with simple API integration. Useful for legacy apps needing LESS support without Node tooling. | 28 | 29 | 11 | 283K | 7 | 2.1 | 39.8 | NOASSERTION | 5 years ago | |
| juanmiguelbesada/amp-bundle | 0.83 | AMP Bundle for Symfony adds support for building Accelerated Mobile Pages, providing Twig helpers and template utilities to generate valid AMP HTML more easily. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 7 years ago | |
| oyejorge/less.php | 0.83 | PHP port of the LESS CSS compiler. Parse and compile .less files to CSS in PHP apps, with support for variables, mixins, imports and minification options. Useful for server-side asset pipelines and build-less deployments. | 643 | 686 | 2 | 24K | 94 | 16.1 | 30.7 | Apache-2.0 | 10 years ago | |
| zaininnari/html-minifier | 0.83 | A Laravel/PHP package for minifying HTML output by removing unnecessary whitespace, comments, and redundant markup. It helps reduce response size and improve delivery speed, with simple configuration for adding HTML compression to your application. | 61 | 62 | 16 | 4K | 4 | 1.8 | 25.2 | NOASSERTION | — | |
| linkorb/jsmin-php | 0.83 | PHP port of Douglas Crockford’s JSMin for minifying JavaScript. Provides a simple API to strip comments and whitespace, shrinking scripts for faster delivery. Lightweight, dependency-free and easy to integrate into Laravel or any PHP build/deploy workflow. | 33 | 33 | 5 | 29K | 0 | 0.4 | 40.4 | — | — | |
| tubalmartin/cssmin | 0.83 | PHP CSS minifier ported from YUI Compressor (v2.4.8) with extra fixes/features. Compress CSS via PHP API, CLI, or GUI; options include keeping sourcemap comments, removing important comments, and line break control. Composer install; PHP 5.3.2+. | 230 | 236 | 34 | 727K | 20 | 8.3 | 55.0 | — | — | |
| patchwork/jsqueeze | 0.83 | PHP JavaScript minifier that removes whitespace/comments, mangles local vars, and preserves important/conditional comments. Works on semicolon-free, parse-error-free JS; compression comparable to YUI Compressor/UglifyJS. Single class, Composer install. | 163 | 158 | 36 | 27K | 10 | 2.4 | 23.4 | Apache-2.0 | — |
How can I help you explore Laravel packages today?