php

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package php provides a concrete Cataloger implementation for PHP ecosystem files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPHPComposerInstalledCataloger added in v0.31.0

func NewPHPComposerInstalledCataloger() *common.GenericCataloger

NewPHPComposerInstalledCataloger returns a new cataloger for PHP installed.json files.

func NewPHPComposerLockCataloger added in v0.31.0

func NewPHPComposerLockCataloger() *common.GenericCataloger

NewPHPComposerLockCataloger returns a new cataloger for PHP composer.lock files.

Types

type ComposerLock

type ComposerLock struct {
	Packages   []Dependency `json:"packages"`
	PackageDev []Dependency `json:"packages-dev"`
}

type Dependency

type Dependency struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

Jump to

Keyboard shortcuts

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