承接 visavi/compressor 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

visavi/compressor

最新稳定版本:v1.3

Composer 安装命令:

composer require visavi/compressor

包简介

Data compression and result output compression

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

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
<?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

统计信息

  • 总下载量: 590
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-19