implement ConsumerRepository
add php-enum to composer dependency
implement producertype