generator Laminas generator settings copy the generator folder into the module folder add generator namespace to your project after generate module, need to add the new module namespace