Routes in comments - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Routes in comments (/showthread.php?tid=66221) |
Routes in comments - jonathanq - 09-22-2016 Hi, You can read routes from the comments, no longer able to generate an array of these? You can make routes from the comments and generate them travez a simple script. Thus I do not need to go to routes.php files because my script is automatically generated. example: PHP Code: /** only run Code: php routes This works perfectly for CI3 https://github.com/yonineitor/routes-ci RE: Routes in comments - kilishan - 09-22-2016 I've never used that library, and it's not supported by us. A quick glance over their readme file, though, and I'd say it would need a little bit of tweaking to work with 4, but shouldn't be too bad. |