![]() |
|
[PHP] A recommendation to what I consider the best PHP routing library. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [PHP] A recommendation to what I consider the best PHP routing library. (/showthread.php?tid=6160475) |
A recommendation to what I consider the best PHP routing library. - BuyingSpade - Jun 25, 2021 First of all I would like to apologise for my many posts around this sub-forum in the past 24 hours. I realized how inactive this sub was and it made me sad as I do consider PHP to major within web development - including the creation of web applications. That being said - let's get to it I would like to present what I consider as the greatest PHP Router: phprouter.com Using a router provides decoupling, validation, maintainability and flexability to your PHP. If you need further explanation on the reasoning read the following: PHP Routing If a mod could delete my last thread that would be appreciated - Good friday to everybody. RE: A recommendation to what I consider the best PHP routing library. - KillSwitch⌥ - Jun 25, 2021 This actually looks good. Clean and compact. I am used to use way more complex routing libraries, however this one seems to be a great and more light weight version. I bookmarked this, and will probably test/use it in smaller upcoming projects. RE: A recommendation to what I consider the best PHP routing library. - Romeos - Jun 26, 2021 this sub being inactive doesn't make php less popular 😂. laravel soon to dominate the world !!! RE: A recommendation to what I consider the best PHP routing library. - Mongrel - Jun 28, 2021 Is this a shameless plug thread? Where's the composer file? Where's the automated testing? (Jun 26, 2021 09:59 PM)Romeos Wrote: this sub being inactive doesn't make php less popular 😂. Would prefer Symfony and I don't like the black magic Laravel is doing under the hood. To each of his own but that's my opinon. RE: A recommendation to what I consider the best PHP routing library. - L E G I Ø N - Jun 28, 2021 Looks pretty good, but I'm not sure why you've decided that it needs to be <1Kb. Doesn't really matter with PHP now that we have autoloading and opcache. That being said. I don't recommend anyone use this. Use an up-to-date framework instead. RE: A recommendation to what I consider the best PHP routing library. - newQuery - Jun 29, 2021 (Jun 28, 2021 01:27 AM)Mongrel Wrote: Is this a shameless plug thread? Where's the composer file? Where's the automated testing? ^This. - Add automated test, with a CI on your repository would be even better. - declare strict_types - Make it a package and publish it on packagist. Thank you for the contribution thought, great to see some activity on here :yeye: RE: A recommendation to what I consider the best PHP routing library. - Mongrel - Jun 29, 2021 (Jun 29, 2021 01:04 AM)newQuery Wrote: ^This. I'm not even sure the intended version his library is suppose to run. 🙃 |