{"id":13560023,"url":"https://github.com/philsturgeon/codeigniter-unzip","last_synced_at":"2025-06-15T09:35:32.708Z","repository":{"id":1143773,"uuid":"1024948","full_name":"philsturgeon/codeigniter-unzip","owner":"philsturgeon","description":"Extract ZIP files in CodeIgniter without installing any PECL extensions for PHP.","archived":false,"fork":false,"pushed_at":"2011-08-05T17:14:56.000Z","size":474,"stargazers_count":78,"open_issues_count":2,"forks_count":43,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-19T20:12:32.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/philsturgeon.png","metadata":{"files":{"readme":"README.markdown","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":"2010-10-26T09:09:13.000Z","updated_at":"2024-03-02T19:15:16.000Z","dependencies_parsed_at":"2022-08-16T12:15:18.554Z","dependency_job_id":null,"html_url":"https://github.com/philsturgeon/codeigniter-unzip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/philsturgeon/codeigniter-unzip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-unzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-unzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-unzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-unzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philsturgeon","download_url":"https://codeload.github.com/philsturgeon/codeigniter-unzip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-unzip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259952457,"owners_count":22936956,"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-08-01T13:00:36.301Z","updated_at":"2025-06-15T09:35:32.667Z","avatar_url":"https://github.com/philsturgeon.png","language":"PHP","readme":"CodeIgniter-Unzip\n============\n\nExtract ZIP files in CodeIgniter without installing any PECL extensions for PHP.\n\n\nRequirements\n------------\n\n1. PHP 5.1+\n2. CodeIgniter 1.6.x - 2.0-dev\n3. ZLib extension enabled\n\n\nUsage\n-----\n\n    $this-\u003eload-\u003elibrary('unzip');\n\n    // Optional: Only take out these files, anything else is ignored\n    $this-\u003eunzip-\u003eallow(array('css', 'js', 'png', 'gif', 'jpeg', 'jpg', 'tpl', 'html', 'swf'));\n\n    // Give it one parameter and it will extract to the same folder\n    $this-\u003eunzip-\u003eextract('uploads/my_archive.zip');\n\n    // or specify a destination directory\n    $this-\u003eunzip-\u003eextract('uploads/my_archive.zip', '/path/to/directory/);\n\nSimple as that!\n\n\nTo-do\n-----\n\n- Add extract_file() to extract a specific file from your ZIP.","funding_links":[],"categories":["Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsturgeon%2Fcodeigniter-unzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilsturgeon%2Fcodeigniter-unzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsturgeon%2Fcodeigniter-unzip/lists"}