Answer the question
In order to leave comments, you need to log in
How to upload packages to different directories depending on Type?
I make a "module manager", each module is a separate composer package, in its composer.json:
How to change the download directory for this type?
So that packages with type "my-package-type" are loaded not in vendor, but in modules for example ?
I need it to display a list of all available modules, that is, roughly speaking:
Everything in the "modules" folder is modules, and I can work with them.
Solution 2:
How to find (without enumeration and checking the type - of each package) in the vendor directory all packages with my type ?
"type": "my-package-type"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question