I'm trying to setup PSR-4 with Composer but I'm just getting A non-empty PSR-4 prefix must end with a namespace separator.
My autoload
in my composer.json
looks like this:
"autoload": {
"psr-4": {
"Acme\\models" : "app/models"
}
},
app/models
is empty.
What am I doing wrong? How can I fix this?
PSR-4
requires the trailing slash. (well double since it needs to be escaped) – Disparity