Methods |
public
|
install(string $hostname, string $path = '', array $opts = []): bool
Install Nextcloud into a pre-existing location
Install Nextcloud into a pre-existing location
Parameters
$hostname |
domain or subdomain to install Laravel
|
$path |
optional path under hostname
|
$opts |
additional install options
|
|
#
|
public
|
fortify(string $hostname, string $path = '', string $mode = 'max', array $args = []): bool
Restrict write-access by the app
Restrict write-access by the app
|
#
|
public
|
get_version(string $hostname, string $path = ''): string
Get installed version
|
#
|
public
|
valid(string $hostname, string $path = ''): bool
Location is a valid Laravel install
Location is a valid Laravel install
Parameters
|
#
|
public
|
get_versions(): array
Get all available Ghost versions
Get all available Ghost versions
|
#
|
public
|
uninstall(string $hostname, string $path = '', string $delete = 'all'): bool
Uninstall Laravel from a location
Uninstall Laravel from a location
Parameters
$delete |
remove all files under docroot
|
|
#
|
public
|
db_config(string $hostname, string $path = ''): array|bool
Get database configuration for a blog
Get database configuration for a blog
Parameters
$hostname |
domain or subdomain of wp blog
|
$path |
optional path
|
|
#
|
public
|
update_all(string $hostname, string $path = '', string $version = null): bool
|
#
|
public
|
update(string $hostname, string $path = '', string $version = null): bool
Update Nextcloud to latest version
Update Nextcloud to latest version
Parameters
$hostname |
domain or subdomain under which WP is installed
|
$path |
optional subdirectory
|
$version |
version to upgrade
|
|
#
|
public
|
update_plugins(string $hostname, string $path = '', array $plugins = []): bool
Update Nextcloud plugins
Parameters
$hostname |
domain or subdomain
|
$path |
optional path within host
|
|
#
|
public
|
update_themes(string $hostname, string $path = '', array $themes = []): bool
Update Nextcloud themes
Parameters
$hostname |
subdomain or domain
|
$path |
optional path under hostname
|
|
#
|
public
|
has_fortification(string $hostname, string $path = '', string $mode = null): bool
|
#
|
public
|
fortification_modes(string $hostname, string $path = ''): array
|
#
|
public
|
plugin_status(string $hostname, string $path = '', string $plugin = null)
|
#
|
public
|
install_plugin(string $hostname, string $path, string $plugin, string $version = 'stable'): bool
|
#
|
public
|
uninstall_plugin(string $hostname, string $path, string $plugin, bool $force = false): bool
|
#
|
public
|
disable_all_plugins(string $hostname, string $path = ''): bool
|
#
|
public
|
theme_status(string $hostname, string $path = '', string $theme = null)
|
#
|
public
|
install_theme(string $hostname, string $path, string $theme, string $version = null): bool
|
#
|
public
|
change_admin(string $hostname, string $path, array $fields): bool
Change admin values
Parameters
$fields |
valid fields: "password"
|
|
#
|
public
|
get_admin(string $hostname, string $path = ''): ?string
|
#
|
public
|
reconfigure(string $hostname, string $path, $param, $value = null): bool
|
#
|
public
|
reconfigurables(string $hostname, string $path = ''): array
|
#
|