PHPackages                             visavi/compressor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. visavi/compressor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

visavi/compressor
=================

Data compression and result output compression

v1.3(10y ago)15901MITPHPPHP &gt;=5.3.0

Since Jun 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/visavi/compressor)[ Packagist](https://packagist.org/packages/visavi/compressor)[ Docs](http://visavi.net)[ RSS](/packages/visavi-compressor/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)DependenciesVersions (4)Used By (1)

Data compression and result output compression
==============================================

[](#data-compression-and-result-output-compression)

[![Latest Stable Version](https://camo.githubusercontent.com/216064c7bec28cac4985d49ed7708a59025a98243c74df1e95592b2803daa732/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636f6d70726573736f722f762f737461626c65)](https://packagist.org/packages/visavi/compressor)[![Total Downloads](https://camo.githubusercontent.com/06e535ececde969689bab9219a6bb22651d966704095aa1328bfb1bdca0b9b3d/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636f6d70726573736f722f646f776e6c6f616473)](https://packagist.org/packages/visavi/compressor)[![Latest Unstable Version](https://camo.githubusercontent.com/e6fba06b363991d5b071d8d65ce095141a2ca3339686b40d921bcd1cfeae9448/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636f6d70726573736f722f762f756e737461626c65)](https://packagist.org/packages/visavi/compressor)[![License](https://camo.githubusercontent.com/c5d4cd2873f7ef29076fdf355ea59ab5f9c719d8b99e4affcb13888196929854/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636f6d70726573736f722f6c6963656e7365)](https://packagist.org/packages/visavi/compressor)

Basic useful feature list:

- Compress the page on the fly and outputs the result as a percentage of compression
- There is a check on the installed library gzip or included directive zlib.output\_compression
- Specifies the gzip compression is turned on by default on the server
- Compression support also checked the visitors browser
- 3 compression method (gzip, x-gzip, deflate), depending on which method of operating the user's browser

```
