Skip to content
Cédric Belin edited this page Jul 29, 2025 · 2 revisions

Minify PHP source code by removing comments and whitespace.
Based on the php_strip_whitespace() function.

Quick start

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

# At the root of your project folder...
dotnet add package Belin.PhpMinifier

For detailed instructions, see the installation guide.

Usage

Clone this wiki locally