PHPackages                             blackforest/namespace-compat - 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. blackforest/namespace-compat

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

blackforest/namespace-compat
============================

Composer Namespace Compat

1.1(11y ago)012LGPL-3.0+PHPPHP &gt;=5.3

Since Apr 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/black-forest-archive/namespace-compat)[ Packagist](https://packagist.org/packages/blackforest/namespace-compat)[ RSS](/packages/blackforest-namespace-compat/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Composer - Namespace Compat
===========================

[](#composer---namespace-compat)

This composer plugin provides namespace compat. After run of the composer this plugin compiled a new file. The new file provides the old to the new namespace.

Usage
-----

[](#usage)

1. Define a requirement for this package in your own composer.json.

    ```
    {
        "require": {
            "blackforest/namespace-compat": "~1.0"
        }
    }
    ```
2. Add this to your own package in the composer.json.

    ```
    {
        "extra": {
            "namespace-compat": {
                "OldNamespace": "NewNamespace"
            }
        }
    }
    ```
3. Run Composer Update: `php composer.phar update`

Testing
-------

[](#testing)

You can test this plugin with [blackforest/namespace-compat-tests](https://github.com/black-forest-archive/namespace-compat-tests).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~0 days

Total

2

Last Release

4060d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/233a03a2e2f9a5043fc57a6bf4ae998a2364a64a18a1263bdc11167ffb86cba8?d=identicon)[baumannsven](/maintainers/baumannsven)

---

Top Contributors

[![baumannsven](https://avatars.githubusercontent.com/u/2493263?v=4)](https://github.com/baumannsven "baumannsven (12 commits)")

---

Tags

composernamespacecompattransferabandoned

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blackforest-namespace-compat/health.svg)

```
[![Health](https://phpackages.com/badges/blackforest-namespace-compat/health.svg)](https://phpackages.com/packages/blackforest-namespace-compat)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M859](/packages/bamarni-composer-bin-plugin)[pyrech/composer-changelogs

Display changelogs after each composer update

5904.0M25](/packages/pyrech-composer-changelogs)[typisttech/imposter-plugin

Composer plugin that wraps all composer vendor packages inside your own namespace. Intended for WordPress plugins.

158251.0k2](/packages/typisttech-imposter-plugin)[helhum/dotenv-connector

Makes it possible to set environment variables for composer projects.

1594.6M34](/packages/helhum-dotenv-connector)[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1395.0M52](/packages/mnsami-composer-custom-directory-installer)

PHPackages © 2026

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