Laravel_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Support\Webapps
Methods Summary
public
# __construct( )
void __construct(void)

ignore


Overrides

public
# install( string $hostname , string $path = '', array $opts = array ( ) )
Install Laravel into a pre-existing location
public
public
# uninstall( string $hostname , string $path = '', string $delete = 'all' )
Uninstall Laravel from a location

Overrides

public
# valid( string $hostname , string $path = '' )
Location is a valid WP install
public
# db_config( string $hostname , string $path = '' )
Get database configuration for a blog
public
# is_current( string $version = NULL, string $branchcomp = NULL )
Check if version is latest or get latest version

Overrides

public
# get_name( string $hostname , string $path = '' )
Get Laravel application name
public
# get_version( string $hostname , string $path = '' )
Get installed version
public
# update( string $hostname , string $path = '', string $version = NULL )
Update Laravel to latest version
public
# update_plugins( string $hostname , string $path = '', array $plugins = array ( ) )
Update Laravel plugins
public
# update_themes( string $hostname , string $path = '', array $themes = array ( ) )
Update Laravel themes
public
# has_fortification( string $mode = NULL )
Web application supports fortification

Overrides

public
# fortify( string $hostname , string $path = '', string $mode = 'max' )
Restrict write-access by the app

Overrides

public
# _housekeeping( )
Laravel housekeeping
protected
# _fixCache( $approot )
Inject custom bootstrapper
protected
# _mapFiles( array $files , string $docroot )
Override docroot map generation since the files to modify will be below 1 level

Overrides

public
# plugin_status( string $hostname , string $path = '', string $plugin = NULL )
public
# install_plugin( string $hostname , string $path = '', string $plugin , string $version = 'stable' )
public
# uninstall_plugin( string $hostname , string $path = '', string $plugin , bool $force = false )
public
# disable_all_plugins( string $hostname , string $path = '' )
public
# theme_status( string $hostname , string $path = '', string $theme = NULL )
public
# install_theme( string $hostname , string $path = '', string $theme , string $version = NULL )
public
# change_admin( string $hostname , string $path = '', array $fields )
public
# get_admin( string $hostname , string $path = '' )
public
# update_all( string $hostname , string $path = '', string $version = NULL )
public
# next_version( string $version , string $maximalbranch = '99999999.99999999.99999999' )
Methods inherited from Module\Support\Webapps
fortify(), failed(), getAppRoot(), getDocumentRoot(), valid(), getInternalName(), getVersionLock(), getDocrootUser(), _mapFiles(), setOptions(), has_fortification(), unfortify(), getOptions(), uninstall(), _map(), getModule(), unsquash(), next_version(), is_current(), _cron(), checkDocroot(), _suggestDB(), _suggestUser(), suggestPassword(), setupDatabase(), getLatestVersion(), fixRewriteBase(), download(), setInfo(), _getWebappExtraStorageDirectory(), knownApps(), getUserFromRoot(), configureSsl(), theme_status(), install_theme(), uninstall_theme()
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public string APP_NAME
# 'Laravel'
public string VERSION_CHECK_URL
# 'https://packagist.org/p/laravel/framework.json'
public string LARAVEL_CLI
# '../artisan'
public string DEFAULT_VERSION_LOCK
# 'minor'
Constants inherited from Module\Support\Webapps
APPLICATION_PREF_KEY , APP_NAME , DEFAULT_VERSION_LOCK
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $_aclList
# array ( 'min' => array ( 0 => '/storage/framework/', 1 => '/app/bootstrap/cache', ), 'max' => array ( 0 => '/storage/framework/cache', 1 => '/storage/framework/views', 2 => '/storage/framework/sessions', 3 => '/storage/logs', 4 => '/bootstrap/cache', ), )
Properties inherited from Module\Support\Webapps
$exportedFunctions
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql