Property | Type | Description | |
---|---|---|---|
$command | |||
$name |
Method | Description | |
---|---|---|
__construct ( |
Create a new installation helper instance. | |
install ( ) : void | Run the installation helper. |
Method | Description | |
---|---|---|
addCashierDependency ( array $composer ) : array | Add the Cashier Composer dependency. | |
addRepository ( array $composer ) : array | Add the Spark repository to the Composer array. | |
addSparkDependency ( array $composer ) : array | Add the Spark Composer dependency. | |
getComposerConfiguration ( ) : array | Read the Composer file from disk. | |
writeComposerFile ( array $composer ) : void | Write the given Composer configuration back to disk. |
public __construct ( |
||
$command | ||
$name | string | |
return | void |
protected addCashierDependency ( array $composer ) : array | ||
$composer | array | |
return | array |
protected addRepository ( array $composer ) : array | ||
$composer | array | |
return | array |
protected addSparkDependency ( array $composer ) : array | ||
$composer | array | |
return | array |
protected getComposerConfiguration ( ) : array | ||
return | array |
protected writeComposerFile ( array $composer ) : void | ||
$composer | array | |
return | void |