Skip to content

add customizable templates path #1710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

eltharin
Copy link
Contributor

@eltharin eltharin commented Jun 12, 2025

allow user to customize their templates by adding a config parameter to list templates folders.
generator will search in all folders listed in the configurations before to select its own template.
With that, user can modify one or more templates to get what he want without copy all maker classes :).

If no config is made => nothing move, all stay as before,
config can be set in a bundle (and the templates can be there too) to maximize reusability.

by example config can be :

maker:
    templates_folders:
        - "makertemplates"
        - "vendor/eltharin/myBundle/makerTemplates

@eltharin eltharin force-pushed the allow_param_for_templates_folders branch from 11233a8 to 81b6132 Compare June 12, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant