Download the PHP package wpelevator/vendor-isolator without Composer
On this page you can find all versions of the php package wpelevator/vendor-isolator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wpelevator/vendor-isolator
More information about wpelevator/vendor-isolator
Files in wpelevator/vendor-isolator
Download wpelevator/vendor-isolator
More information about wpelevator/vendor-isolator
Files in wpelevator/vendor-isolator
Vendor wpelevator
Package vendor-isolator
Short Description Composer plugin to isolate project dependencies by prefixing their namespace
License MIT
Package vendor-isolator
Short Description Composer plugin to isolate project dependencies by prefixing their namespace
License MIT
Please rate this library. Is it a good library?
Informations about the package vendor-isolator
Vendor Isolator
Composer plugin to isolate project dependencies by prefixing their namespace.
Requirements
- PHP 7.4 or later
- Composer v2
How it Works
-
It registers itself as a Composer plugin when you add it to your project through the php/class-plugin.php.
- It hooks into
pre-autoload-dumpandpost-autoload-dumpComposer events and uses nikic/php-parser to rewrite the namespaces and classname references for all non-development dependencies. It ignores all global function and classes.
To Do
- Describe how this is different from php-scoper and other projects.
Features and Limitations
-
It only rewrites the non-development dependencies in the
vendordirectory, 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
A fork of and/composer-isolation.
All versions of vendor-isolator with dependencies
PHP Build Version
Package Version
The package wpelevator/vendor-isolator contains the following files
Loading the files please wait ...