Methods |
public
|
plugin_status(string $hostname, string $path = '', string|null $plugin = null): array|bool|void
Check package dependency
|
#
|
public
|
uninstall_plugin(string $hostname, string $path, string $plugin, bool $force = false): bool
Uninstall Composer package
Uninstall Composer package
|
#
|
public
|
disable_all_plugins(string $hostname, string $path = ''): bool
Remove all packages
Remove all packages
Blocked because it's a Really Bad Idea(TM)
|
#
|
public
|
next_version(string $version, string $maximalbranch = '99999999.99999999.99999999'): null|string
Get next Composer version
Get next Composer version
|
#
|
public
|
reconfigure(string $hostname, string $path, $param, $value = null): bool
|
#
|
public
|
get_configuration($field)
|
#
|
public
|
install(string $hostname, string $path = '', array $opts = []): bool
Install Composer into a pre-existing location
Install Composer into a pre-existing location
Parameters
$hostname |
domain or subdomain to install Laravel
|
$path |
optional path under hostname
|
$opts |
additional install options
|
|
#
|
public
|
install_plugin(string $hostname, string $path, string $plugin, string $version = 'stable'): bool
Install and activate Composer package
Install and activate Composer package
Parameters
$hostname |
domain or subdomain of wp install
|
$path |
optional path component of wp install
|
$plugin |
plugin name
|
$version |
optional plugin version
|
|
#
|
public
|
uninstall(string $hostname, string $path = '', string $delete = 'all'): bool
Uninstall Composer backed package from a location
Uninstall Composer backed package from a location
Parameters
$delete |
remove all files under docroot
|
|
#
|
public
|
db_config(string $hostname, string $path = ''): bool|array
Get database configuration
Get database configuration
Parameters
$hostname |
domain or subdomain of wp blog
|
$path |
optional path
|
|
#
|
public
|
is_current(null|string $version = null, string|null $branchcomp = null): bool
Check if version is latest or get latest version
Check if version is latest or get latest version
|
#
|
public
|
change_admin(string $hostname, string $path, array $fields): bool
Change Composer admin credentials
Change Composer admin credentials
Common fields include: password, email, name; email doubles as login
|
#
|
public
|
get_admin(string $hostname, null|string $path = ''): string
Get the primary admin for a WP instance
Get the primary admin for a WP instance
Returns
admin or false on failure
|
#
|
public
|
get_appname(string $hostname, string $path = ''): string|null
Get Laravel application name
Get Laravel application name
Returns
|
#
|
public
|
update_all(string $hostname, string $path = '', string $version = null): bool
Update core, plugins, and themes atomically
Update core, plugins, and themes atomically
Parameters
$hostname |
subdomain or domain
|
$path |
optional path under hostname
|
|
#
|
public
|
update(string $hostname, string $path = '', string $version = null): bool
Update Composer to latest version
Update Composer to latest version
Parameters
$hostname |
domain or subdomain under which WP is installed
|
$path |
optional subdirectory
|
|
#
|
public
|
get_versions(): array
Get all available Composer versions
Get all available Composer versions
|
#
|
public
|
get_version(string $hostname, string $path = ''): string
Get installed version
|
#
|
public
|
update_plugins(string $hostname, string $path = '', array $plugins = []): bool
Update plugins
Parameters
$hostname |
domain or subdomain
|
$path |
optional path within host
|
|
#
|
public
|
update_themes(string $hostname, string $path = '', array $themes = []): bool
Update Laravel themes
Parameters
$hostname |
subdomain or domain
|
$path |
optional path under hostname
|
|
#
|
public
|
has_fortification(string $hostname, string $path = '', string|null $mode = null): bool
Web application supports fortification
Web application supports fortification
Parameters
$mode |
optional mode (min, max)
|
|
#
|
public
|
_housekeeping(): bool
Laravel housekeeping
|
#
|
public
|
theme_status(string $hostname, string $path = '', string $theme = null)
|
#
|
public
|
install_theme(string $hostname, string $path, string $theme, string $version = null): bool
|
#
|