Skip to content
Magento 2 module for ngrok.io service support
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Helper
Plugin
etc
LICENSE
README.md
composer.json
registration.php

README.md

Magento 2 ngrok

Magento 2 module for ngrok service support. Automatically updates Magento base url based on domain used in the request. Modifies full-page and block-html caching to separate Magento caches for local and ngrok domains. No broken links or non loaded scripts and styles while browsing Magento web instance.

Installation

To install the module to your local Magento 2 dev environment, simply run the command below.

composer require --dev shkoliar/magento-ngrok

The next step is to check if module is installed and exists in the modules list.

bin/magento module:status

And the last part is enabling the module.

bin/magento module:enable Shkoliar_Ngrok

Optionally you may want to run also bin/magento setup:upgrade and bin/magento setup:di:compile commands to ensure that the enabled modules are properly registered and classes are generated.

Usage

Module itself does not require any configuration, it checks for request domain and activated only if it's .ngrok.io. So it works only when it needed for ngrok secure tunnels.

License

MIT

You can’t perform that action at this time.