wyrihaximus/css-compress
A lightweight PHP library for minifying CSS, stripping comments, whitespace, and redundant characters to shrink stylesheets and speed up page loads. Easy to drop into any PHP or Laravel project, it produces smaller CSS output with minimal setup and no external dependencies.
wyrihaximus/css-compress is a lightweight PHP package for minifying and compressing CSS assets. It strips unnecessary whitespace, comments, and redundant characters from stylesheets, producing smaller files that load faster while remaining functionally identical. The package integrates smoothly into Laravel applications and can be wired into existing asset pipelines.
Designed for simplicity, it offers a clean API for compressing raw CSS strings or files and caching the results for repeated requests.
How can I help you explore Laravel packages today?