3 ms·
Related: A similar project (a simple php router) called Klein exists (https://github.com/chriso/klein.php https://github.com/chriso/klein.php) which is really g
by citricsquid 14y ago
Related: A similar project (a simple php router) called Klein exists (https://github.com/chriso/klein.php https://github.com/chriso/klein.php) which is really great. Does anyone have experience with both and can explain which is better?
- ChiperSoft 14y agoI love Klein, but this looks WAY easier to work with and much more specific. Klein includes a bunch of stuff for request and response handling, output buffers and views and stuff. Toro appears to completely leave all that to the implementer, which is very nice if you've already got code to handle those things.
- tlack 14y agoThanks for posting this. I hadn't seen Klein before and the simplicity and minimalism of the API really appeals to me. I'm using Slim so far and it has some serious drawbacks (no namespaced routes, no response()->write(json), overly complicated view system)