{"id":21762833,"url":"https://github.com/visavi/compressor","last_synced_at":"2025-03-21T04:43:10.248Z","repository":{"id":57078316,"uuid":"37724185","full_name":"visavi/compressor","owner":"visavi","description":"Data compression and result output compression","archived":false,"fork":false,"pushed_at":"2015-06-23T20:41:44.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T01:24:58.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://visavi.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visavi.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-19T13:47:27.000Z","updated_at":"2015-06-19T23:43:47.000Z","dependencies_parsed_at":"2022-08-24T14:56:14.447Z","dependency_job_id":null,"html_url":"https://github.com/visavi/compressor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fcompressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fcompressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fcompressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visavi%2Fcompressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visavi","download_url":"https://codeload.github.com/visavi/compressor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739940,"owners_count":20501990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T12:13:16.796Z","updated_at":"2025-03-21T04:43:10.222Z","avatar_url":"https://github.com/visavi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data compression and result output compression\n\n[![Latest Stable Version](https://poser.pugx.org/visavi/compressor/v/stable)](https://packagist.org/packages/visavi/compressor)\n[![Total Downloads](https://poser.pugx.org/visavi/compressor/downloads)](https://packagist.org/packages/visavi/compressor)\n[![Latest Unstable Version](https://poser.pugx.org/visavi/compressor/v/unstable)](https://packagist.org/packages/visavi/compressor)\n[![License](https://poser.pugx.org/visavi/compressor/license)](https://packagist.org/packages/visavi/compressor)\n\nBasic useful feature list:\n\n * Compress the page on the fly and outputs the result as a percentage of compression\n * There is a check on the installed library gzip or included directive zlib.output_compression\n * Specifies the gzip compression is turned on by default on the server\n * Compression support also checked the visitors browser\n * 3 compression method (gzip, x-gzip, deflate), depending on which method of operating the user's browser\n\n```php\n\u003c?php\n// Enabling data compression\nVisavi\\Compressor::start();\n\n// Getting the results of the compression, output compression percentage of the data (not a mandatory method call)\necho Visavi\\Compressor::result().'%';\n```\n\n### Installing\n\n```\ncomposer require visavi/compressor\n```\n\n### License\n\nThe class is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisavi%2Fcompressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisavi%2Fcompressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisavi%2Fcompressor/lists"}