Download the PHP package christianklisch/slim-minify without Composer
On this page you can find all versions of the php package christianklisch/slim-minify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download christianklisch/slim-minify
More information about christianklisch/slim-minify
Files in christianklisch/slim-minify
Download christianklisch/slim-minify
More information about christianklisch/slim-minify
Files in christianklisch/slim-minify
Vendor christianklisch
Package slim-minify
Short Description Minify html output in slim framework
License MIT
Homepage https://github.com/christianklisch/slim-minify
Package slim-minify
Short Description Minify html output in slim framework
License MIT
Homepage https://github.com/christianklisch/slim-minify
Please rate this library. Is it a good library?
Informations about the package slim-minify
slim-minify
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. This script is a summary of stackoverflow answers.
Requirements
- PHP Version >= 7.2
- Slim Version >= 4.0
Usage
Copy the file Minify.php to 'Slim/Middleware/'. Register minify via $app->add():
or use the composer:
in 'src/middleware.php':
to deactivate minified output:
Contributors
- Christian Klisch https://www.christian-klisch.de
Copyright and license
Copyright 2014 released under MIT license.
All versions of slim-minify with dependencies
PHP Build Version
Package Version
The package christianklisch/slim-minify contains the following files
Loading the files please wait ....