Closed DylandeWit closed 2 years ago
@DylandeWit I don't think it's possible now. What we have right now is, you can publish existing templates and then make changes to the stub file, according to your need.
But we don't have support to generate extra files and I think this feature is already requested by someone in past and we already have it in the queue.
We have a plan to add a support for some hookup methods, where you can register your custom classes after/before/after some specific files with all data available which is available to each generator command.
I think it's possible with php artisan infyom.publish:templates
in new versions.
@DylandeWit @skys215 As of the latest version, how you can accomplish this is,
And I think you should be able to create the custom file that you want.
Let me know if it helps.
I would like te be able to generate a custom file along with the rest. The feature might be already there but I can't find it.
For example: testfile.stub -> to generate this file.