libhuffman is a Huffman coding library and a huffcode is a command line interface to the library. The encoder is a 2 pass encoder. The first pass generates a huffman tree and the second pass encodes the data. The decoder is one pass and uses a huffman code table at the beginning of the compressed file to decode the data.
libhuffman has functions for encoding and decoding both files and memory.
libhuffman and huffcode are released under a BSD license.
Visit the project home page if you would like to download Huffman.
Markus Nix, from Docuverse.de, wrote a PHP extension for libhuffman.
Check out The Tao of Programming. It is a modified version of The Tao of Programming taken from http://www.canonical.org/~kragen/tao-of-programming.html.