Static routing, laravel-like routes and filtering |
[eluser]Patroklo[/eluser]
I have done a little project that let's you use Codeigniter with static routes (meaning that if you are accessing a url not defined in the routes.php file it will throw a 404 error), also added laravel-like routing (with callings to a static library intead of tweaking with the $route[] array) and also I have added filter callings, something that I thing it's very useful and Codeigniter doesn't have. I have uploaded it into github here I haven't tested it in Codeigniter 2.x, but I'm pretty sure that won't work, at least for the MY_Routes changes.
[eluser]Patroklo[/eluser]
Added support to send manual parameters to the filter anonymous functions. Now it's possible to add manual strings or uri segments to them as a parameter. |
Welcome Guest, Not a member yet? Register Sign In |