Recommend simple PHP Routing Engine
20,838
Solution 1
You might find Silex interesting. Otherwize if you only care about routing, using mod_rewrite is the most efficient solution.
Solution 2
You probably already found a solution but one of the routing classes I've been using lately are these two and they've proven to be effective.
PHPRouter.php https://github.com/dannyvankooten/PHP-Router
AltoRouter.php https://github.com/dannyvankooten/AltoRouter
Author by
Ticksy
Updated on November 15, 2020Comments
-
Ticksy over 3 years
Looking for simple php class routing, like this: http://fatfree.sourceforge.net/page/routing-engine
Is there a ready-made solutions? Or is it better to use the whole framework (it is lightweight, might even cut out the router)?