wyrihaximus/js-compress
Compress and minify JavaScript in PHP with wyrihaximus/js-compress, a small library that wraps a JS compressor behind a simple API so you can shrink assets during your build or at runtime.
wyrihaximus/js-compress is a PHP library for JavaScript minification, helping reduce script size by stripping comments, whitespace, and other unnecessary characters before assets are served or deployed. It offers a straightforward way to compress JavaScript within PHP-based build and deployment workflows.
How can I help you explore Laravel packages today?