Tips about the Composer package management tool.
loading Mynamespace
from the src
folder in the package root
"autoload": {
"psr-4": {
"Mynamespace\\": "src"
}
}
or loading from multiple locations
"autoload": {
"psr-4": {
"Mynamespace\\": ["src/app", "src/test/"]
}
}