Loading...

Make your website smaller and faster to load by minifying the JS and CSS code.

2021-01-18 Admin

Make your website smaller and faster to load by minifying the JS and CSS code.

This minifier removes whitespace, strips comments, combines files, and optimizes/shortens a few common programming patterns. And it comes with a huge test suite.

Use it in your projects

Simply add a dependency on matthiasmullie/minify to your composer.json file if you use Composer to manage the dependencies of your project:
composer require matthiasmullie/minify
Although it’s recommended to use Composer, you can actually include these files anyway you want.

Relate Article