Help us shape the future of Go! Take the 2026 Go Developer Survey

composer

package
v0.0.0-...-3d357ff Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposerExtension

type ComposerExtension struct {
	// contains filtered or unexported fields
}

ComposerExtension downloads, installs and runs Composer

func (*ComposerExtension) Compile

func (e *ComposerExtension) Compile(ctx *extensions.Context, installer *extensions.Installer) error

Compile downloads and runs Composer

func (*ComposerExtension) Configure

func (e *ComposerExtension) Configure(ctx *extensions.Context) error

Configure runs early configuration to set PHP version and extensions

func (*ComposerExtension) Name

func (e *ComposerExtension) Name() string

Name returns the extension name

func (*ComposerExtension) PreprocessCommands

func (e *ComposerExtension) PreprocessCommands(ctx *extensions.Context) ([]string, error)

PreprocessCommands returns commands to run before app starts (none for Composer)

func (*ComposerExtension) ServiceCommands

func (e *ComposerExtension) ServiceCommands(ctx *extensions.Context) (map[string]string, error)

ServiceCommands returns long-running service commands (none for Composer)

func (*ComposerExtension) ServiceEnvironment

func (e *ComposerExtension) ServiceEnvironment(ctx *extensions.Context) (map[string]string, error)

ServiceEnvironment returns environment variables for runtime (none for Composer)

func (*ComposerExtension) ShouldCompile

func (e *ComposerExtension) ShouldCompile(ctx *extensions.Context) bool

ShouldCompile determines if Composer should be installed

Jump to

Keyboard shortcuts

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