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

compress(FileSystemEntity source, FileSystemEntity destination, { String base, String binary, TransformMode mode: TransformMode.safe, String pattern: '*.php', bool recurse: true, bool silent: false }) → Future<void>
Minifies the specified source file or directory containing PHP files, and writes the resulting output to the specified destination. [...]

Enums

TransformMode
Defines the type of transformation applied by a minifier.