technosophos/phpcompressor

A simple PHP compressor that removes unnecessary data from PHP source code.

Maintainers

👁 technosophos

Package info

github.com/technosophos/PHPCompactor

pkg:composer/technosophos/phpcompressor

Statistics

Installs: 760

Dependents: 0

Suggesters: 0

Stars: 27

Open Issues: 0

1.0.0 2012-02-03 22:41 UTC

Requires

  • php: >=5.2.6

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT b30fb7d6077b3b239f8bddee091b22349601a210

utilitycompressor

This package is not auto-updated.

Last update: 2026-06-26 00:03:26 UTC


README

Authors: M Butcher (matt@aleph-null.tv), J Pruis (email@jurriaanpruis.nl)

Copyright (c) 2009-2010. Licensed under an MIT-style license. See COPYING-MIT.txt

About this package

This package provides a very simple PHP code compressor. It reads a single source file and then loads that source, along with all of the other locally included files, into one bigger file. The larger file is compacted by removing as much superfluous data as possible, including comments and whitespace.

Using this tool

Usage:

php ./src/phpcompactor.php compressed_file.php source_file.php 

This will compress source_file.php and all of its dependencies into compressed_file.php.