ticaje/m2-configuration

This module constitutes the foundations for using the settings according to design by contract basis


Licenses
OSL-3.0/AFL-3.0

Documentation

Utilizing Design by Contract approach to normalize the use of Magento 2 configurations in our projects

Latest Version on Packagist Quality Score Total Downloads

Preface

This module is an attempt to create a standard approach to normalize the use of all configurations defined in adminhtml/system.xml. I personally prefer creating a directory structure within adminhtml directory where in a per configuration basis i define a file for a group of configurations inside my module.

Then making use of this module i define de interfaces and classes for each file i've created. An example of such workaround is provided.

Installation

You can install this package using composer(the only way i recommend)

composer require ticaje/m2-configuration

Contributing

Please see CONTRIBUTING for details.

Credits

License

The GNU General Public License (GPLv3). Please see License File for more information.