blackforest/namespace-compat

Composer Namespace Compat

Maintainers

Package info

github.com/black-forest-archive/namespace-compat

Issues

Type:composer-plugin

pkg:composer/blackforest/namespace-compat

Statistics

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 0

1.1 2015-04-07 09:44 UTC

This package is not auto-updated.

Last update: 2026-03-01 01:30:07 UTC


README

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

  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

You can test this plugin with blackforest/namespace-compat-tests.