hossamyousef / slim3-minify
Minify html output in slim framework
0.0.1
2016-06-20 07:39 UTC
Requires
- php: >=5.3.0
- slim/slim: ^3.0
This package is not auto-updated.
Last update: 2024-04-25 00:25:05 UTC
README
Slim middleware to minify HTML output generated by the slim PHP framework. It removes whitespaces, empty lines, tabs beetween html-tags and comments to reduce traffic.
Installation
Use Composer
$ composer require hossamyousef/slim3-minify
Requires Slim 3.0.0 or newer.
Usage
$app = new Slim\App(); $app->add(new \Slim\Middleware\Minify());