How to get list of all routes in Magento 2?
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.
magento2 command-line router
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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.
magento2 command-line router
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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
add a comment |
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.
magento2 command-line router
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.
magento2 command-line router
magento2 command-line router
asked Jan 3 '18 at 15:46
Bunyamin InanBunyamin Inan
862624
862624
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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
add a comment |
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
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
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
My good beloved rails...
– sissy
May 18 '18 at 11:19
add a comment |
1 Answer
1
active
oldest
votes
Yes, using n98:
n98-magerun.phar config:dump frontend/routers
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
2
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f207963%2fhow-to-get-list-of-all-routes-in-magento-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, using n98:
n98-magerun.phar config:dump frontend/routers
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
2
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
add a comment |
Yes, using n98:
n98-magerun.phar config:dump frontend/routers
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
2
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
add a comment |
Yes, using n98:
n98-magerun.phar config:dump frontend/routers
Yes, using n98:
n98-magerun.phar config:dump frontend/routers
edited Jan 3 '18 at 16:43
Amit Bera♦
57.4k1474171
57.4k1474171
answered Jan 3 '18 at 16:03
Stepan FurmanStepan Furman
5851518
5851518
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
2
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
add a comment |
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
2
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
github.com/netz98/n98-magerun/issues/253
– Stepan Furman
Jan 3 '18 at 16:04
2
2
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
This is for magento 1 I think. It does not work with n98-magerun2.
– Bunyamin Inan
Jan 3 '18 at 19:28
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f207963%2fhow-to-get-list-of-all-routes-in-magento-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
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