Magento, Composer, and Autoload Patterns

2 · Alan Storm · Oct. 17, 2019, 2:20 p.m.
Summary
This entry is part 4 of 4 in the series Magento 2 and Composer. Earlier posts include Magento 2: Composer, Marketplace, and Satis, Magento 2: Composer Plugins, and Magento 2: Composer and Components. This is the most recent post in the series. A few weeks ago I set out to put Magento composer package support into pestle, and then I got sidetracked by the whole how to deterministically know where a package’s root and “code root” folders are thing. I’ve been staring at a dataset of around 3400 Mag...