preg_router: A simple PHP router.

I just released a very simple PHP router. It uses an INI file for route definitions and plain regex (via PHP's preg_match) to get from an HTTP request to a handler PHP function.

It's called preg_router and it's on GitHub.

mason@staugler.net
Share |

preg_router: A simple PHP router. Sunday, 27 June 2010 (modified Sunday, 27 June 2010)

I just released a very simple PHP router. It uses an INI file for route definitions and plain regex (via PHP's preg_match) to get from an HTTP request to a handler PHP function.

It's called preg_router and it's on GitHub.

Post a comment.