blackforest / namespace-compat
Composer Namespace Compat
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:composer-plugin
Requires
- php: >=5.3
- composer-plugin-api: 1.0.0
Requires (Dev)
- blackforest/namespace-compat-tests: *
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-10-26 18:06:41 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
-
Define a requirement for this package in your own composer.json.
{ "require": { "blackforest/namespace-compat": "~1.0" } }
-
Add this to your own package in the composer.json.
{ "extra": { "namespace-compat": { "OldNamespace": "NewNamespace" } } }
-
Run Composer Update:
php composer.phar update
Testing
You can test this plugin with blackforest/namespace-compat-tests.