Composer
class Composer
Properties
static protected | $composerFile | ||
static protected | $pluginsDir | ||
static protected | $packagistUrl | ||
static protected | $packagistToken | ||
static protected | $pluginComposerFile | ||
static protected | $installedFlagPath | ||
static protected | $interceptionProxyDirectory | ||
static protected | $pluginCacheDirectory | ||
static | $basePlugins |
Methods
static void
setPackagistUrl(string $packagistUrl)
set target packagist url
static void
setPackagistToken(string $authToken)
set packagist auth token
static void
command(CommandEvent $event)
composer가 실행될 때 호출된다. composer.plugins.json 파일이 있는지 조사하고, 생성한다.
static void
preUpdateOrInstall(Event $event)
preUpdateOrInstall
static void
postDependenciesSolving(InstallerEvent $event)
postDependenciesSolving
static void
postUpdate(Event $event)
composer 실행중 post-install-cmd, post-update-cmd 이벤트가 발생할 경우 실행된다.
static ComposerFileWriter
getWriter(string $path)
ComposerFileWriter 인스턴스를 생성한다.
static void
static void
clearCompiled()
Clear the cached Laravel bootstrapping files.
static bool
deleteDirectory(string $directory, bool $preserve = false)
delete Directory
Details
at line 70
static void
setPackagistUrl(string $packagistUrl)
set target packagist url
at line 82
static void
setPackagistToken(string $authToken)
set packagist auth token
at line 94
static void
command(CommandEvent $event)
composer가 실행될 때 호출된다. composer.plugins.json 파일이 있는지 조사하고, 생성한다.
at line 149
static void
preUpdateOrInstall(Event $event)
preUpdateOrInstall
at line 160
static void
postDependenciesSolving(InstallerEvent $event)
postDependenciesSolving
at line 178
static void
postUpdate(Event $event)
composer 실행중 post-install-cmd, post-update-cmd 이벤트가 발생할 경우 실행된다.
composer.plugins.json 파일을 현재 XE 상태에 맞춰 갱신한다.
at line 209
static protected ComposerFileWriter
getWriter(string $path)
ComposerFileWriter 인스턴스를 생성한다.
at line 225
static private void
applyRequire(ComposerFileWriter $writer)
plugin composer 파일에 등록된 플러그인 제어정보를 require에 적용한다.
at line 246
static protected void
clearCompiled()
Clear the cached Laravel bootstrapping files.
at line 269
static protected bool
deleteDirectory(string $directory, bool $preserve = false)
delete Directory