Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
setup
config
router.config.php
Go to the documentation of this file.
1
<?php
7
return
[
8
'router'
=> [
9
'routes'
=> [
10
'literal'
=> [
11
'type'
=>
'Literal'
,
12
'options'
=> [
13
'route'
=>
'/'
,
14
'defaults'
=> [
15
'controller'
=> \Magento\Setup\Controller\Index::class,
16
'action'
=>
'index'
,
17
],
18
],
19
],
20
'setup'
=> [
21
'type'
=>
'Segment'
,
22
'options'
=> [
23
'route'
=>
'[/:controller[/:action]]'
,
24
'defaults'
=> [
25
'__NAMESPACE__'
=>
'Magento\Setup\Controller'
,
26
'controller'
=>
'Index'
,
27
'action'
=>
'index'
,
28
],
29
'constraints'
=> [
30
'controller'
=>
'[a-zA-Z][a-zA-Z0-9_-]*'
,
31
'action'
=>
'[a-zA-Z][a-zA-Z0-9_-]*'
,
32
],
33
],
34
],
35
],
36
],
37
];