2017 © Pedro Peláez
 

library compressor

Data compression and result output compression

image

visavi/compressor

Data compression and result output compression

  • Tuesday, June 23, 2015
  • by visavi
  • Repository
  • 1 Watchers
  • 1 Stars
  • 544 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Data compression and result output compression

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Basic useful feature list:, (*2)

  • 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
<?php
// Enabling data compression
Visavi\Compressor::start();

// Getting the results of the compression, output compression percentage of the data (not a mandatory method call)
echo Visavi\Compressor::result().'%';

Installing

composer require visavi/compressor

License

The class is open-sourced software licensed under the MIT license, (*3)

The Versions

23/06 2015

dev-master

9999999-dev http://visavi.net

Data compression and result output compression

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

23/06 2015

v1.3

1.3.0.0 http://visavi.net

Data compression and result output compression

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

20/06 2015

v1.2

1.2.0.0 http://visavi.net

Data compression and result output compression

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

20/06 2015

v1.1

1.1.0.0 http://visavi.net

Data compression and result output compression

  Sources   Download

MIT

The Requires

  • php >=5.3.0