0
votes

I want to customize the default folder structure of Cakephp. I have ten modules which are all huge use-cases, so for maintenance purpose I want to customize the Cakephp default folder structure.

For e.g.:

Now the src folder contains controllers, template, and model, but I want to maintain separate folders for each modules in config folder, so that modules folder will contain its own controller, models, and templates.

Is it possible to create something like this?

1
there are plugins in cakephp, you could use plugin to achieve your requirement. Check : book.cakephp.org/3.0/en/plugins.html - Abhishek
@ abhishek Thanks for the tip! - Sathish

1 Answers

1
votes

Use CakePHP Plugins. They are like mini-apps or modules that were you can group parts of your application:

http://book.cakephp.org/3.0/en/plugins.html