search

Home  >  Q&A  >  body text

PHP framework - How to configure PHP laravel routing so that the URL corresponds to the controller method, just like THINKPHP

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

我想大声告诉你我想大声告诉你2753 days ago481

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-05-16 16:55:02

    Use crontroller or resource

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-16 16:55:02

    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

    reply
    0
  • Cancelreply