PHPackages                             zkc226/paerius - 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. zkc226/paerius

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

zkc226/paerius
==============

Bundles your vendor directory into a PHP Archive (PHAR)

0.9.1(7y ago)015MITPHPPHP &gt;=7.0

Since Mar 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zkc226/paerius)[ Packagist](https://packagist.org/packages/zkc226/paerius)[ Docs](https://github.com/axute/paerius)[ RSS](/packages/zkc226-paerius/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Paerius
=======

[](#paerius)

Bundles your vendor directory into a single PHP Archive (PHAR).

Requirements
------------

[](#requirements)

`php.ini` edit phar settings:

```
; http://php.net/phar.readonly
phar.readonly = Off
; http://php.net/phar.require-hash
phar.require_hash = Off

```

Installation
------------

[](#installation)

Add Pmt to your project using Composer:

```
composer require axute/paerius

```

Files that will be deleted
--------------------------

[](#files-that-will-be-deleted)

See [Paerius.php](src/Paerius.php) at class fields for files that will be deleted (in vendor path).

Usage
-----

[](#usage)

Run the binary to create/update your PHAR file:

```
php vendor/bin/paerius

```

### Compression

[](#compression)

Files in phar archive will be tried to compress.

PHP Extension is required (optionaly).

force special compression (bz2/gz/none)

default is bzip2 (if installed, fallback gzip if installed, fallback none)

bzip2 &lt; gzip &lt; none

```
php vendor/bin/paerius bz

php vendor/bin/paerius gz

php vendor/bin/paerius none

```

A new file named `vendor.phar` will be added to your working directory (project root). Update your bootstrap to include `./vendor.phar` instead of `vendor/autoload.php` and you're good to go.

```
$autoload = require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor.phar';
$autoload->addPsr4('[YOUR NAMESPACE]',__DIR__.DIRECTORY_SEPARATOR.'src');

```

### Automate

[](#automate)

To generate `vendor.phar` automaticly, add the following lines to **your** composer.json

```
"scripts": {
    "post-install-cmd": "vendor/bin/paerius",
    "post-update-cmd": "vendor/bin/paerius"
}

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Every ~228 days

Total

2

Last Release

2751d ago

PHP version history (2 changes)0.9PHP &gt;=7.2

0.9.1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/37ed274034c97362d4dc74c872eaabb168d0daeec72727fd895830251de3eb00?d=identicon)[zkc](/maintainers/zkc)

---

Top Contributors

[![zkc226](https://avatars.githubusercontent.com/u/14890199?v=4)](https://github.com/zkc226 "zkc226 (3 commits)")[![axute](https://avatars.githubusercontent.com/u/641986?v=4)](https://github.com/axute "axute (1 commits)")[![ms-pxxl](https://avatars.githubusercontent.com/u/41888755?v=4)](https://github.com/ms-pxxl "ms-pxxl (1 commits)")

---

Tags

composerpharvendor

### Embed Badge

![Health badge](/badges/zkc226-paerius/health.svg)

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

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[seld/phar-utils

PHAR file format utilities, for when PHP phars you up

875180.0M32](/packages/seld-phar-utils)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[clue/phar-composer

Simple phar creation for any project managed via Composer

862881.6k29](/packages/clue-phar-composer)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M859](/packages/bamarni-composer-bin-plugin)[composer/metadata-minifier

Small utility library that handles metadata minification and expansion.

181115.0M13](/packages/composer-metadata-minifier)

PHPackages © 2026

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