Yireo DevHacks
yireo/magento2-devhacks
Collection of developer convenience hacks for Magento 2, such as skipping core PHTML template path validation when symlinking local repositories via Composer path repositories.
Supported Magento versions: 2.4.9
651 installs★ 7 starsLatest: v0.1.3Released 2025-10-22License: OSL-3.0
composer require yireo/magento2-devhacksREADME
Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.
Magento 2 module with development hacks, that came in handy for myself.
Use the following commands to install:
composer require yireo/magento2-devhacks:@dev --dev
Enable this module:
./bin/magento module:enable Yireo_DevHacks
./bin/magento setup:upgrade
The core checks whether PHTML templates are in the path of the Magento core. When using the composer feature path to symlink a local repository to Magento, while the path is outside of Magento, this throws an exception. This module simply skips the entire logic. No configuration needed. Bam.
Moved to separate Yireo_IntegrationTestHelper module instead.
Links
- Packagist
- PackageMaven — quality data by PackageMaven
- Repository
- Issues