Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposerInstall ¶
func ComposerInstall(composerFile string, opts tools.ContainerOptions) error
ComposerInstall must be use to install package using composer
func ComposerUpdate ¶
func ComposerUpdate(composerFile string, opts tools.ContainerOptions) error
ComposerUpdate must be use to update package using composer
func HasComposer ¶
HasComposer check if directory given has composer.json file
func HasComposerLock ¶
HasComposerLock check if directory given has composer.lock file
Types ¶
type PhpComposer ¶
type PhpComposer struct {
ContainerOpts tools.ContainerOptions
}
func NewPhpComposer ¶
func NewPhpComposer(config *viper.Viper) PhpComposer
NewPhpComposer load viper parameters to ContainerOpts struct
func (PhpComposer) Install ¶
func (c PhpComposer) Install(path string)
func (PhpComposer) Update ¶
func (c PhpComposer) Update(path string)
Click to show internal directories.
Click to hide internal directories.