PHPackages                             eghojansu/project-compress - 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. eghojansu/project-compress

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

eghojansu/project-compress
==========================

Compress project with PHP and 7zip

047PHP

Since Sep 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eghojansu/project-compress)[ Packagist](https://packagist.org/packages/eghojansu/project-compress)[ RSS](/packages/eghojansu-project-compress/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Compress Tool
=================

[](#php-compress-tool)

Compress project folder

Installation and Usage
----------------------

[](#installation-and-usage)

`composer require --dev eghojansu/project-compress:dev-master`

Use in your project: `vendor/bin/compress`

Options
-------

[](#options)

Create `compress.json` or `compress.json.dist` in current working directory.

Default options:

```
{
    "bin": null,
    "dest": "{cwd}/dist",
    "dir": "{cwd}",
    "exclude_extensions": ["7z", "bak", "db", "env", "gz", "zip", "rar"],
    "exclude_recursives": ["~$*"],
    "exclude_extras": null,
    "excludes": [".git", ".vs", "dist", "node_modules", "var", "vendor"],
    "extension": null,
    "format": "7z",
    "name": null,
    "options": "-mx=9 -m0=lzma2",
    "overrides": null
}
```

*Please refers to 7zip for `format` and `options` option.*

*Overrides consists of environment and overriden option as below.*

```
{
    "overrides": {
        "prod": {
            "exclude_extras": "exclude/other/directory-or-files"
        }
    }
}
```

Then run command with `vendor/bin/compress --env=prod`. The configuration in `overrides.prod` will be merged with the main configuration.

Supported compressor
--------------------

[](#supported-compressor)

- [7zip](https://www.7-zip.org/)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13988676?v=4)[ekokurniawan](/maintainers/ekokurniawan)[@ekokurniawan](https://github.com/ekokurniawan)

---

Top Contributors

[![eghojansu](https://avatars.githubusercontent.com/u/10484419?v=4)](https://github.com/eghojansu "eghojansu (16 commits)")

### Embed Badge

![Health badge](/badges/eghojansu-project-compress/health.svg)

```
[![Health](https://phpackages.com/badges/eghojansu-project-compress/health.svg)](https://phpackages.com/packages/eghojansu-project-compress)
```

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[wire-elements/modal

Laravel Livewire modal component

1.2k3.8M31](/packages/wire-elements-modal)[nette/component-model

⚛ Nette Component Model

28516.5M92](/packages/nette-component-model)[kartik-v/yii2-widget-timepicker

Enhanced Yii2 wrapper for the bootstrap timepicker plugin (sub repo split from yii2-widgets)

404.9M14](/packages/kartik-v-yii2-widget-timepicker)[blakewilson/wp-enforce-semver

A class to enforce SemVer in your WordPress plugins.

1114.8k](/packages/blakewilson-wp-enforce-semver)[brlabrussia/parallel-stub

Provide parallel PHP extension stub

115.9k1](/packages/brlabrussia-parallel-stub)

PHPackages © 2026

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