Articles for tag Magento 2

PHPStan static code analyzer for Magento 2

PHPStan static code analyzer for Magento 2

It happens to everybody you make a quick change. it's a small change so you don't test it, you push the change to staging or to live (I hope not) and inform the customer of the change. And then the customer calls you that the change doesn't not work or …

How to make a Mage2Gen snippet

How to make a Mage2Gen snippet

In this blog post we are going to create a snippet for Mage2Gen. Mage2Gen is a Magento 2 module creator library, go check out the web implementation.

We are going to make a small snippet to add preference's to the Mage2Gen module that is being created. The snippet will have …

Mage2Gen

Mage2Gen

Mage2Gen is a Python 3 library for generating Magento 2 modules with snippets. The core of the library exists of a simple representation of PHP classes, XML and static files like HTML, CSS and JS. The other part consists of snippets, a snippet uses the core library to add PHP …