PHPackages                             prhost/composer-vendor-merge - 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. prhost/composer-vendor-merge

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

prhost/composer-vendor-merge
============================

0.1.1(6y ago)254911MITPHP

Since Sep 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/prhost/composer-vendor-merge)[ Packagist](https://packagist.org/packages/prhost/composer-vendor-merge)[ RSS](/packages/prhost-composer-vendor-merge/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (4)Used By (1)

Composer Vendor Merge
=====================

[](#composer-vendor-merge)

This class has the goal of automatically merge all autoload and vendor. Ideal for those who organize your project in plugins, modules, extensions, etc.

It was extracted from the OctoberCMS project core and adapted to work without the platform.

You can use this class both standalone and via composer package `composer require prhost/composer-vendor-merge`

### Example via Composer package

[](#example-via-composer-package)

**Install the package**

`composer require prhost/composer-vendor-merge`

**Instance and init the classe**

```
$manager = new Prhost\ComposerMergeVendor();
$manager->init();
```

**Adds other vendor by project**

```
//Other vendor
$manager->addVendor(__DIR__ . '/path/to/other/vendor');
```

### Example Standalone

[](#example-standalone)

**Require the classe**

```
require_once 'src/ComposerMergeVendor.php';
```

**Instance and init the classe**

```
$manager = new Prhost\ComposerMergeVendor();
$manager->init();
```

**Adds other vendor by project**

```
//Other vendor
$manager->addVendor(__DIR__ . '/path/to/other/vendor');
```

### Credits

[](#credits)

- [@kallefpr](https://twitter.com/kallefpr)
- [OctoberCMS](http://octobercms.com)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

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

Every ~359 days

Total

3

Last Release

2483d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3984760?v=4)[Kallef Alexandre](/maintainers/prhost)[@prhost](https://github.com/prhost)

---

Top Contributors

[![prhost](https://avatars.githubusercontent.com/u/3984760?v=4)](https://github.com/prhost "prhost (5 commits)")

---

Tags

composermergephpvendor

### Embed Badge

![Health badge](/badges/prhost-composer-vendor-merge/health.svg)

```
[![Health](https://phpackages.com/badges/prhost-composer-vendor-merge/health.svg)](https://phpackages.com/packages/prhost-composer-vendor-merge)
```

###  Alternatives

[ezsystems/ezplatform-standard-design

eZ Platform Standard Design Bundle

30711.5k10](/packages/ezsystems-ezplatform-standard-design)

PHPackages © 2026

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