System\Classes\UpdateManager\ManagesPlugins


Public Methods

public installPlugin()

public installPlugin($name): void

installPlugin using composer

public migratePlugin()

public migratePlugin($name): void

migratePlugin runs update on a single plugin

public migratePlugins()

public migratePlugins(): void

migratePlugins migrates all plugins

public requestPluginContent()

public requestPluginContent($name): array 

requestPluginContent looks up content for a plugin from the update server

public requestPluginDetails()

public requestPluginDetails($name): array 

requestPluginDetails looks up a plugin from the update server

public rollbackPlugin()

public rollbackPlugin($name): void

rollbackPlugin removes an existing plugin database and version record

public rollbackPluginToVersion()

public rollbackPluginToVersion($name, $toVersion): void

rollbackPlugin removes an existing plugin database and version record

public uninstallPlugin()

public uninstallPlugin($name): void

uninstallPlugin attempts to remove the plugin using composer before deleting from the filesystem

public updatePlugin()

public updatePlugin($name): void

Protected Methods

protected findPluginComposerCode()

protected findPluginComposerCode($code): array 

findPluginComposerCode locates a composer code for a plugin