A Composer plugin that ensures Pollora framework helper functions take precedence over other helper implementations.
This Composer plugin is specifically designed for the Pollora framework ecosystem. It manipulates the Composer autoloader to ensure that Pollora's helper functions are loaded first, allowing them to override any similar helper functions that might be defined by other packages.
In PHP applications, when multiple packages define the same helper functions, the last loaded file takes precedence. This plugin ensures that Pollora's helper functions are always loaded first, maintaining consistent behavior across your application regardless of other installed packages.
Install the package via composer:
composer require pollora/helper-overrider
The plugin:
- Hooks into Composer's autoload process
- Identifies Pollora helper files
- Modifies the autoload order to prioritize these files
- Ensures Pollora helper functions are loaded before any other package's helpers
- PHP 8.2 or higher
- Composer 2.x
No configuration needed. The plugin works automatically as part of the Pollora framework setup.
This package is part of the Pollora framework ecosystem and is designed to work seamlessly with it. It's not intended for standalone use.
If you discover any issues, please create an issue on the Pollora framework's GitHub repository.
MIT License
Created and maintained by Pollora