Elgg
Version 6.1
|
A composer command handler to run after composer install. More...
Static Public Member Functions | |
static | execute (Event $event) |
Copies files that Elgg expects to be in the root directory. More... | |
Static Protected Member Functions | |
static | copyFromElggToRoot (string $elggPath, string $rootPath, bool $overwrite=false) |
Copies a file from the given location in Elgg to the given location in root. More... | |
static | createProjectModFolder () |
Make sure the /mod folder exists in when Elgg is installed through a Composer project eg. More... | |
static | symlinkPluginFromRootToElgg (string $plugin) |
Make it possible for composer-managed Elgg site to recognize plugins version-controlled in Elgg core. More... | |
A composer command handler to run after composer install.
Definition at line 11 of file PostInstall.php.
|
staticprotected |
Copies a file from the given location in Elgg to the given location in root.
string | $elggPath | Path relative to elgg dir. |
string | $rootPath | Path relative to app root dir. |
bool | $overwrite | Overwrite file if it exists in root path, defaults to false. |
Definition at line 46 of file PostInstall.php.
|
staticprotected |
Make sure the /mod folder exists in when Elgg is installed through a Composer project eg.
starter project
Definition at line 64 of file PostInstall.php.
|
static |
Copies files that Elgg expects to be in the root directory.
Definition at line 20 of file PostInstall.php.
|
staticprotected |
Make it possible for composer-managed Elgg site to recognize plugins version-controlled in Elgg core.
string | $plugin | The name of the plugin to symlink |
Definition at line 89 of file PostInstall.php.