Running plugin migrations when other plugin is installed?
You can have plugin A listen for the EVENT_AFTER_INSTALL_PLUGIN event.
It could then check if $plugin-&gt;handle is for plugin B and if so, run any additional install migrations or logic.
You could do something similar for the EVENT_AFTER_UNINSTALL_PLUGIN event to clean things up in the case where one gets uninstalled.