I'm trying to make a plugin system that could integrate with existing functions / components in an eCommerce Laravel project.
By integrating with existing functions / components, I mean to have the ability to add on more payment methods by interacting with the API and not requiring the user to register events or service providers.
I'm also trying to make it so that the existing functions / components can interact with the plugin to pull information or functions like "Auto Login to X" and "Change DirectAdmin password."
These functions are similar to WHMCS which is a billing platform for hosting companies.
I currently do not know where to start to create such a module system that will interact with each other.
(I'm willing to give clarifications if I sound a bit confusing)