Documentation ¶
Index ¶
Constants ¶
View Source
const Type string = "composer"
Variables ¶
View Source
var Manifests = []string{"composer.lock"}
Functions ¶
Types ¶
type ComposerMetadata ¶
type ComposerMetadata struct { Readme []string `json:"_readme"` ContentHash string `json:"content-hash"` Packages []ComposerPackage `json:"packages"` PackagesDev []ComposerPackage `json:"packages-dev"` Aliases []string `json:"aliases"` MinimumStability string `json:"minimum-stability"` StabilityFlags interface{} `json:"stability-flags"` PreferStable bool `json:"prefer-stable"` PreferLowest bool `json:"prefer-lowest"` Platform interface{} `json:"platform"` PlatformDev interface{} `json:"platform-dev"` }
ComposerMetadata - composer file metadata
type ComposerObject ¶
type ComposerObject map[string]interface{}
ComposerObject common objects for composer metadata
type ComposerPackage ¶
type ComposerPackage struct { Name string `json:"name"` Version string `json:"version"` Source ComposerObject `json:"source"` Dist ComposerObject `json:"dist"` Require ComposerObject `json:"require"` Provide ComposerObject `json:"provide"` RequireDev ComposerObject `json:"require-dev"` Suggest ComposerObject `json:"suggest"` Type string `json:"type"` Extract ComposerObject `json:"extra"` Autoload ComposerObject `json:"autoload"` NotificationURL string `json:"notification-url"` License []string `json:"license"` Authors []ComposerObject `json:"authors"` Description string `json:"description"` Homepage string `json:"homepage"` Keywords []string `json:"keywords"` Time string `json:"time"` }
ComposerPackage - composer packages
Click to show internal directories.
Click to hide internal directories.