You got it wrong. Configuration is like in `composer.json`:

```yaml
default:
    autoload:
        Name\Space: /path/to
```