Thanks for your concern, I would try to implement features you have said, Its still under development mode and needs much polish.
Re:Link: A fast and simple PHP Router
by arenaninja on Thursday May 29, 2014 @12:59PM
(#7817218)
Good luck! Another feature of my router is that the method name converts snake_case to camelCase, so that resource/list_actions calls ResourceController::listActions(), but some of the features I mention will most likely incur a performance hit, but it shouldn't be significant once opcache comes into play
For example, why is ReflectionClass not used (I'm guessing PHP 4 compatibility)? Particularly because class_exists can cause major headaches if you use the default autoloader, see https://bugs.php.net/bug.php?id=52339
There's also little information available from outside the router; an invalid class/method uses die without giving you an option to check for it and handle it some other way. I also don't immediately see any special handling for not allowing magical methods to be called
Definitely a good start for personal projects though, just needs some spit and polish