Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cedx/php-minifier

Minify PHP source code by removing comments and whitespace.
https://github.com/cedx/php-minifier

gulp haxe php

Last synced: 2 months ago
JSON representation

Minify PHP source code by removing comments and whitespace.

Awesome Lists containing this project

README

        

# 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.
This package allows you to apply the [`php_strip_whitespace()`](https://www.php.net/manual/en/function.php-strip-whitespace.php) function to compress the code,
either using the command line or through a [Gulp](https://gulpjs.com) plugin.

## Documentation
- [User guide](https://github.com/cedx/php-minifier/wiki)
- [Examples](https://github.com/cedx/php-minifier/tree/main/example)

## Development
- [Git repository](https://github.com/cedx/php-minifier)
- [Submit an issue](https://github.com/cedx/php-minifier/issues)

## License
[PHP Minifier](https://github.com/cedx/php-minifier) is distributed under the MIT License.