Yireo DevHacks for Magento 2
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.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubYireo DevHacks
Magento 2 module with development hacks, that came in handy for myself.
Installation
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
Skip template path validation
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.
Toggle TESTS_CLEANUP in integration tests configuration
Moved to separate Yireo_IntegrationTestHelper module instead.
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.