Call Controller function from webroot file in Cakephp 3
In our example we call AppController function from webroot file. you can call any controller function from webroot file. To Call Controller function from webroot file in Cakephp create a new file on webroot and paste this code- Cakephp 3.4 Cakephp 3.8