PHPackages                             jeevi/cabinet - 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. jeevi/cabinet

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

jeevi/cabinet
=============

Microsoft Cabinet file extraction wrapper. Uses either cabextract or expand

0.1.0(8y ago)117↓100%Apache-2.0PHPPHP &gt;=5.2.1

Since May 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jeevi-cao/cabinet)[ Packagist](https://packagist.org/packages/jeevi/cabinet)[ Docs](https://github.com/jeevi-cao/cabinet)[ RSS](/packages/jeevi-cabinet/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Microsoft Cabinet file extraction wrapper.
==========================================

[](#microsoft-cabinet-file-extraction-wrapper)

Microsoft Cabinet file extraction wrapper. Uses either cabextract or expand

INSTALLATION
------------

[](#installation)

The recommended way to install cabarchive is through Composer:

```
 composer require jeevi/cabinet

```

REQUIREMENTS
------------

[](#requirements)

- PHP 5.2.1 or above
- expand.exe has been installed on windows
- cabextract has been installed on Linux, and it's on /usr/bin dir

QUICK START
-----------

[](#quick-start)

Microsoft Cabinet file extraction wrapper. Uses either cabextract or expand, it's has this functions:

- list files, lists a Cabinet has files
- get files content , get a file cotent in Cabint
- extract cab to assgin dir

    ```
     #list files
     $cabFiles = __DIR__. '/test.cab';
     try {
         $cab = new \Cab\CabArchive($cabFiles);
         $files = $cab->listFiles();
     } catch (\Cab\CabArchiveException $e) {
         echo $e->getMessage();
     }

     #get a file cotent
     try {
         $cab = new CabArchive($cabFiles);
         $fileconent= $cab->extract('360av_linux_server_baseline.ini');
      } catch (\Cab\CabArchiveException $e) {
           echo $e->getMessage();
     }
     #get multi files content it's ruturn array
     try {
         $cab = new CabArchive($cabFiles);
         $fileconent= $cab->extract('360av_linux_server_baseline.ini');
     } catch (\Cab\CabArchiveException $e) {
          echo $e->getMessage();
     }

     #extract to dir
      try {
           $dst = __DIR__ . '/tmp';
           $cab = new CabArchive($cabFiles);
           $cab->extract(null, $dst);
      } catch (\Cab\CabArchiveException $e) {
         echo $e->getMessage();
      }

    ```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2920d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c913b976faacde963a6be837a2c58078053eaf6a5cece546f1502970e2316a81?d=identicon)[jeevi-cao](/maintainers/jeevi-cao)

---

Top Contributors

[![jeevic](https://avatars.githubusercontent.com/u/12953391?v=4)](https://github.com/jeevic "jeevic (1 commits)")

---

Tags

expandMicrosoft Cabinetcabextract

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeevi-cabinet/health.svg)

```
[![Health](https://phpackages.com/badges/jeevi-cabinet/health.svg)](https://phpackages.com/packages/jeevi-cabinet)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
