naderman/phpbb3-example-ext — pull request #8 by imkingdavid (2012-09-16 21:22:27+00:00)
Title: Use new controller system for extension controller

This depends on the currently-unmerged phpbb3 PR #995. I suggest you don't merge this in until that is merged. However, I am sending the PR so that people can see how to use the new system to create a controller for extensions.

Note that creating a controller for the core is an identical process. Controllers should be contained in a new folder in the root called /controller/ and the routing and services should go in the respective files located in the core /config/ directory.

Controllers are accessed in the URL via ./phpBB/app.php/pattern (where pattern matches the pattern defined in the routing file for the controller you are trying to access).