6

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 at 16:41
  • It is really disappointing there is not any way to list all the routes. – Bunyamin Inan May 31 at 16:43
1

Yes, using n98:

n98-magerun.phar config:dump frontend/routers

0

Not working with magento2 I tried with below commands

n98-magerun.phar app:config:dump frontend/routers
n98-magerun.phar config:show frontend/routers

Any way?

New contributor
chathun is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

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.