Methods |
public
|
install(string $hostname, string $path = '', array $opts = []): bool
Install Laravel into a pre-existing location
Install Laravel into a pre-existing location
Parameters
$hostname |
domain or subdomain to install Laravel
|
$path |
optional path under hostname
|
$opts |
additional install options
|
|
#
|
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 Laravel framework versions
Get Laravel framework versions
|
#
|
public
|
get_installable_versions(): array
Get installable versions
Get installable versions
Checks laravel/laravel bootstrapper package
|
#
|
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 Laravel to latest version
Update Laravel to latest version
Parameters
$hostname |
domain or subdomain under which WP is installed
|
$path |
optional subdirectory
|
$version |
version to upgrade
|
|
#
|