How do you scope a PHP scoping library to avoid dependency conflicts? That's a trick question 😅
The must rewrite EVERYTHING including the source itself, the autoloader (which must be shipped with the release) and the composer.json with the original dependencies removed.
And then you probably want to test everything by re-running the test suite within the rewritten codebase which still needs to rely on the development dependencies.