Skip to content

technosophos/PHPCompactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPCompactor: A tool for compacting PHP source files

Authors: M Butcher ([email protected]), J Pruis ([email protected])

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.

About

A simple PHP code compression utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages