Custom CakePHP bake templates

I have my own custom templates that I use for views. With a lot of trial and error I managed to set them up so that when cake bakes a view, it bakes it to that template.

However, this change was made in the vendor directory. Where can I load my custom view template so that each time I do a composer update, it doesn’t overwrite my changes?

I am using CakePHP 3

Have you considered just writing some custom classes outside of vendor to handle this? Properly namespaced of course. That way you need not worry about vendor.

You can Create a bake theme in your project folder