gocomposer

package
v0.0.0-...-376d4f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

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

func HasComposer(dir string) string

HasComposer check if directory given has composer.json file

func HasComposerLock

func HasComposerLock(dir string) string

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL