UNPKG

@cedx/php-minifier

Version:

Minify PHP source code by removing comments and whitespace.

18 lines (13 loc) 924 B
# PHP Minifier ![Node.js](https://badgen.net/npm/node/@cedx/php-minifier) ![npm](https://badgen.net/npm/v/@cedx/php-minifier) ![License](https://badgen.net/npm/license/@cedx/php-minifier) ![Downloads](https://badgen.net/npm/dt/@cedx/php-minifier) Minify [PHP](https://www.php.net) source code by removing comments and whitespace. Based on the [`php_strip_whitespace()`](https://www.php.net/manual/en/function.php-strip-whitespace.php) function. ## Documentation - [User guide](https://github.com/cedx/php-minifier.js/wiki) - [API reference](https://cedx.github.io/php-minifier.js) - [Examples](https://github.com/cedx/php-minifier.js/tree/main/example) ## Development - [Git repository](https://github.com/cedx/php-minifier.js) - [Submit an issue](https://github.com/cedx/php-minifier.js/issues) ## License [PHP Minifier](https://github.com/cedx/php-minifier.js) is distributed under the MIT License.