grinder_php_minify library

Grinder plug-in minifying PHP source code by removing comments and whitespace.

Classes

FastTransformer
Removes comments and whitespace from a PHP script, by calling a Web service.
Minifier
Removes PHP comments and whitespace by applying the 'php_strip_whitespace()' function.
SafeTransformer
Removes comments and whitespace from a PHP script, by calling a PHP process.
Transformer
Removes comments and whitespace from a PHP script.

Functions

phpMinify(dynamic patterns, { dynamic destination, { String base, String binary, TransformMode mode: TransformMode.safe, bool silent: false }) → Future<void>
Minifies the PHP scripts corresponding to the specified file patterns, and writes the resulting output to the specified destination directory. [...]

Enums

TransformMode
Defines the type of transformation applied by a minifier.