Versions in this module Expand all Collapse all v0 v0.3.2 Aug 19, 2026 Changes in this version + func ExtractInstalled(fsys fs.FS, opts *api.DecomposerOptions) (*sbom.NodeList, error) + type ComposerDist struct + Reference string + Shasum string + Type string + URL string + type ComposerJSON struct + Description string + Homepage string + Name string + RawLicense json.RawMessage + Require map[string]string + RequireDev map[string]string + Version string + func ParseComposerJSON(data []byte) (*ComposerJSON, error) + func ReadComposerJSON(workDir string) (*ComposerJSON, error) + func (m *ComposerJSON) Licenses() []string + type ComposerLock struct + ContentHash string + Packages []*ComposerPackage + PackagesDev []*ComposerPackage + func ParseComposerLock(data []byte) (*ComposerLock, error) + func ParseInstalledJSON(data []byte) (*ComposerLock, error) + func ReadComposerLock(workDir string) (*ComposerLock, error) + type ComposerPackage struct + Description string + Dist ComposerDist + Homepage string + License []string + Name string + Require map[string]string + Source ComposerSource + Version string + type ComposerSource struct + Reference string + Type string + URL string + type Decomposer struct + func New() *Decomposer + func (d *Decomposer) DefaultOptions() any + func (d *Decomposer) Extract(opts *api.DecomposerOptions) (*sbom.NodeList, error) + func (d *Decomposer) FindCodeBases(index *code.PathIndex) ([]string, error) + func (d *Decomposer) Requirements(_ *api.DecomposerOptions) []api.Requirement + type Options struct