Skip to content
Cédric Belin edited this page Jun 16, 2024 · 12 revisions

Minify PHP source code by removing comments and whitespace.
This package allows you to apply the php_strip_whitespace() function to compress the code, either using the command line or through a Gulp plugin.

Quick start

Install the latest version of PHP Minifier with npm package manager:

npm install @cedx/php-minifier

For detailed instructions, see the installation guide.

Usage

Clone this wiki locally