I have some config for project
{
"autoload": {
"psr-4": {
"Module\\": [
"app/modules",
"system/modules"
]
}
}
}
and classes are available on this path
app/modules/ModuleName/SomeClass.php
How can I make the composer look to
app/modules/ModuleName /src/SomeClass.php,
but with old namespace Module\ModuleName?
Just add a corresponding mapping:
Mapping
Module\ModuleName
toapp/modules/ModuleName/
is already covered with the existing mapping.