Skip to content

Jarzebowsky/magento-ngrok

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Magento 2 module for ngrok.io service support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%