PHPackages                             wpelevator/vendor-isolator - 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. wpelevator/vendor-isolator

ActiveComposer-plugin

wpelevator/vendor-isolator
==========================

Composer plugin to isolate project dependencies by prefixing their namespace

0.1.0(1y ago)1164↓100%1[1 PRs](https://github.com/wpelevator/vendor-isolator/pulls)MITPHPPHP &gt;=7.4

Since Oct 17Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/wpelevator/vendor-isolator)[ Packagist](https://packagist.org/packages/wpelevator/vendor-isolator)[ RSS](/packages/wpelevator-vendor-isolator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Vendor Isolator
===============

[](#vendor-isolator)

Composer plugin to isolate project dependencies by prefixing their namespace.

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

[](#requirements)

- PHP 7.4 or later
- [Composer v2](https://getcomposer.org/upgrade/UPGRADE-2.0.md)

How it Works
------------

[](#how-it-works)

- It registers itself as a Composer plugin when you add it to your project through the [`extra.class` directive in the `composer.json` file](composer.json) pointing to `WPElevator\Vendor_Isolator\Plugin` in [php/class-plugin.php](php/class-plugin.php).
- It hooks into `pre-autoload-dump` and `post-autoload-dump` Composer events and uses [nikic/php-parser](https://github.com/nikic/PHP-Parser) to rewrite the namespaces and classname references for *all non-development dependencies*. It ignores all global function and classes.

To Do
-----

[](#to-do)

- Describe how this is different from php-scoper and other projects.

Features and Limitations
------------------------

[](#features-and-limitations)

- It only rewrites the non-development dependencies in the `vendor` directory, therefore your application code must reference the isolated dependencies by their prefixed namespace.
- It doesn't replace function definitions and calls in the global namespace. Any definitions and calls to global functions will remain in the global namespace after the transformation.

Credits
-------

[](#credits)

A fork of [and/composer-isolation](https://github.com/logical-and/composer-isolation).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance61

Regular maintenance activity

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

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.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

563d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?d=identicon)[kasparsd](/maintainers/kasparsd)

---

Top Contributors

[![kasparsd](https://avatars.githubusercontent.com/u/169055?v=4)](https://github.com/kasparsd "kasparsd (36 commits)")

### Embed Badge

![Health badge](/badges/wpelevator-vendor-isolator/health.svg)

```
[![Health](https://phpackages.com/badges/wpelevator-vendor-isolator/health.svg)](https://phpackages.com/packages/wpelevator-vendor-isolator)
```

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M713](/packages/psy-psysh)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M565](/packages/symfony-maker-bundle)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)

PHPackages © 2026

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