Dont forget µ which is totally a legit router
Edit: as in, which router do you pick and how do you pick one? Choice can lead to decision paralysis.
Although, doing it without a router is probably always going to be faster.
php_value auto_prepend_file 'before.php'
You can then use that for bootstrapping, front controller and to limit access. Can be a bit clumsy, but it's nicely divorced from simple page controllers.I personally would still prefer a router but I know of a project which was written almost entirely in sprawling, procedural PHP that might benefit from this. Although I do wonder what the performance hit would be.