In GeneratorConfig.php at the bottom of the loadDynamicVariables function you have this
        $commandData->addDynamicVariable(
            '$API_PREFIX$',
            config('infyom.laravel_generator.api_prefix', 'api')
        );
        $commandData->addDynamicVariable(
            '$API_VERSION$',
            config('infyom.laravel_generator.api_version', 'v1')
        );
 
This is a useful way of adding new dynamic variables. I have added a few of them myself that I use in my customized stubs.
However this forces me to make edits inside of the /vendor folder which is bad practice.
Would it be possible to add an array "dynamic_variables" inside of laravel_generator.php and iterate through it in GeneratorConfig.php so that we could add our own dynamic variables via the configuration file?
Please and thank you :)