2017 © Pedro Peláez
 

magento2-module magento2-example-observer

image

yireo-training/magento2-example-observer

  • Thursday, July 5, 2018
  • by yireo-training
  • Repository
  • 1 Watchers
  • 1 Stars
  • 61 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 24 % Grown

The README.md

ExampleObserver module for Magento 2

Dummy module to show the behaviour of monitoring observable events using an observer. This observer simply logs pointless details from the request., (*1)

Installation

To install use the following composer command:, (*2)

composer require yireo-training/magento2-example-observer:dev-master

Next enable the module:, (*3)

bin/magento module:enable Yireo_ExampleObserver
bin/magento setup:upgrade

And flush the cache:, (*4)

bin/magento cache:clean

Proof of concept

After installing the module, every frontend action should be logged to var/log/system.log., (*5)

The Versions

05/07 2018

dev-master

9999999-dev

  Sources   Download

OSL-3.0

The Requires

  • php >=7.0.0
  • magento/framework ^100.1.0|^101.0.0

 

The Development Requires

by Jisse Reitsma (Yireo)

composer-installer magento