$ composer require ctw/ctw-middleware-htmlminifier
If you want to use the WyriHaximusAdapter
adapter, also install the following package:
$ composer require wyrihaximus/html-compress
This PSR-15 middleware formats, fixes and beautifies the HTML in the Response body using a variety of adapters.
$ composer require ctw/ctw-middleware-htmlminifier
If you want to use the WyriHaximusAdapter
adapter, also install the following package:
$ composer require wyrihaximus/html-compress
This PSR-15 middleware formats, fixes and beautifies the HTML in the Response body using a variety of adapters.
BSD 3-Clause "New" or "Revised" License