Yireo_DevHacks
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
Latest Release
0.1.3
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.
Current status
Support
For getting support, create an Issue under the following project URL:
https://github.com/yireo/Yireo_DevHacks
Composer details
Magento module name
Yireo_DevHacksComposer name
yireo/magento2-devhacksComposer version
0.1.3
Default branch
master
Requirements
ext-pcre: *
magento/framework: ^100.0|^101.0|^102.0|^103.0
php: >=8.2 <8.6
Releases
| 0.1.3 | 23 October 2026 |
| 0.1.2 | 23 October 2026 |
Changelog
[0.1.3] - 22 October 2025
Fixed
- Add hacked copy of File
- Remove old hacks
- Add dev keyword
- Make exception on empty templates more readable
- Symfony 6 compliance
- Add new override
- Remove integration test CLI
- Add very simple live test
[0.1.2] - 2021-05-13
Fixed
- Fix new path validator by using "hack files"
[0.1.1] - 2020-07-29
Fixed
- Fixed 2.4 compatibility
[0.1.0] - 2019-04-28
Added
- Toggle TESTS_CLEANUP in integration tests configuration
[0.0.1] - 2019-03
Added
- Skip template path validation
Last modified: October 17, 2026