laravel-code-generator icon indicating copy to clipboard operation
laravel-code-generator copied to clipboard

Custom stub template types

Open relayer464 opened this issue 1 year ago • 1 comments

Greetings,

First, thanks for creating this wonderful CRUD generator!

I was just wondering if there is a way to create custom stub templates? I have successfully copied the default stub template folder and have modified some of the existing stubs and generated custom controllers, blade files, etc. However, I would like to create stub templates for file types not already represented (for example, Laravel authorization policies, so something like policy.stub). Just wondering if this is possible, and if so, how?

If this isn't possible, I would like to suggest this as an enhancement.

Thanks!

relayer464 avatar Oct 18 '24 01:10 relayer464