Is it possible to get the list of all routes in a Magento 2 environment? I am looking some command-line tool, if there is any?

Note: I had a bin/rails routes command to list all the routes in rails framework, and I am looking something similar to this.

  • 1
    I wrote a similar tool a long time ago. The code is already deleted, but I can share the basic steps for this tool. Are you interested? – Andrey Konosov Jan 3 '18 at 15:53
  • My good beloved rails... – sissy May 18 '18 at 11:19
  • Hi @AndreyKonosov, after long time, yes I am interested :). – Bunyamin Inan May 31 '19 at 16:41
  • It is really disappointing there is not any way to list all the routes. – Bunyamin Inan May 31 '19 at 16:43

Yes, using n98:

n98-magerun.phar config:dump frontend/routers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.