Back to blog

List all controllers in Cakephp 2

I needed to list all the Controllers of an Cakephp 2 application. I searched the webz and found an old article that got me started. The original article with code is here: Here is the (rewritten) code for a CakePHP 2 Component: