The config should not be here. As this is completely opt-in (people may not use it at all), please move this into a dist file instead with ALL the config possible (just duplicate the parameters of the factory). In the documentation, just tell people to copy-paste the .dist file into their autoload folder. An example of such a file: https://github.com/zf-fr/zfr-rest/blob/master/config/zfr_rest.local.php.dist