added generator to composer.json