PHP framework - How to configure PHP laravel routing so that the URL corresponds to the controller method, just like THINKPHP
我想大声告诉你
我想大声告诉你 2017-05-16 16:53:02
0
2
480

How to configure laravel routing so that the URL corresponds to the controller method? Just like THINKPHP,

I think it’s not good to write routes one by one

我想大声告诉你
我想大声告诉你

reply all(2)
習慣沉默

Use crontroller or resource

Peter_Zhu

Laravel does not have this routing method after Laravel version 4.

Nowadays, it is generally believed that manual routing is a better way abroad. You can try to slowly accept this method. For a better reason, check out this:
https://phphub.org/topics/2025

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template