Skip to content

Introduction

This guideline is a standard Magento 2 guideline that we believe to set your project up to success.

  • No Magento core changes! and commits on vendor directory! (only via composer patch)
  • Patches must be created inside {{Magento root}}/patches
  • Try to set a proper composer constraints over the new modules (strict or minor)
  • Upon installing new modules try to always use composer installation method
  • Recommended to make new modules to extend functionality of 3rd party modules
  • Try to use plugin over using preference
  • Add readable - useful comments for each functionality (ie: within classes or modules)