# Feature Request: Event-Driven Plugin Loading #45939
Replies: 3 comments
-
I do not agree that you should be able to dump everything for different events in a single plugin for the same reason as you shouldn't abuse the system plugins. There are too many technical/architectural reasons to list why this is a bad idea. Joomla 6.x reaches feature freeze TODAY so none of this could even be considered until Joomla 7 |
Beta Was this translation helpful? Give feedback.
-
I added it to the Wednesday Maintainer meeting agenda and will come back to you later. |
Beta Was this translation helpful? Give feedback.
-
We had the meeting today and the outcome is that the maintainers don't see the benefit for making all Plugins “system plugins” alike, additionally some of the plugin types are loaded only for single purpose dispatchers. So for this point in time we see no reason to implement this concept in core. I'm closing this for now but of course can be reopened. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Event-Driven Plugin Loading
Summary
Allow plugins to handle events regardless of their folder/group location, while maintaining full backward compatibility with the existing group-based system.
Problem Statement
The current plugin system constrains event handling based on folder structure, leading to:
Real-World Example
A listmonk integration requires:
content
plugin for membership handlinguser
plugin for user deletion cleanupwebservices
plugin for REST API endpointssystem
pluginProposed Solution
Enhance the event dispatcher to load plugins based on method availability rather than just folder location.
Implementation Approach
Technical Implementation
Benefits
For Developers
For Performance
For Architecture
Backward Compatibility
Zero breaking changes:
Implementation Phases
Phase 1: Core Enhancement
Phase 2: Developer Tools
Phase 3: Core Adoption (Optional)
Configuration
Introduce optional plugin manifest setting:
Success Metrics
Conclusion
This enhancement addresses a fundamental limitation that has grown more problematic as the Joomla plugin ecosystem has matured. It provides a clear migration path toward more logical code organization while respecting the existing ecosystem.
The current system made sense when plugins were simple and few. Today's complex, multi-functional plugins deserve a more flexible architecture that supports developer productivity and maintainable code organization.
Priority: Medium
Complexity: Medium
Breaking Changes: None
Target Version: Joomla 6.x (allows thorough testing and community feedback)
Beta Was this translation helpful? Give feedback.
All reactions