This class can be used to compress and uncompress data with the LZW algorithm in pure PHP code. It can take a string of data and compress it with the LZW algorithm. It can also do the opposite, i.e. extract the original data from compressed data using the same algorithm.