/magento2-custom-router

Example router for demonstration how to create custom router in Magento 2.

Primary LanguagePHP

magento2-custom-router

Example router in Magento 2.

Install:

First add repository to composer configuration: ```bash composer config repositories.inchoocustomrouter vcs git@github.com:zoransalamun/magento2-custom-router.git ``` Require new package with composer: ```bash composer require inchoo/custom-router:dev-master ``` Enable Inchoo CustomRouter module ```bash php bin/magento module:enable Inchoo_CustomRouter ```

Flush everything:

php bin/magento setup:upgrade