Symfony2's ControllerNameParser.php as a standalone file, for use within your own custom Framework.