php

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PACKAGIST_REGISTRY_API = "https://repo.packagist.org/p2/%s.json"

https://packagist.org/apidoc#get-package-data

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposerDoctor

type ComposerDoctor struct {
	HTTPClient http.Client
}

func NewComposerDoctor

func NewComposerDoctor() *ComposerDoctor

func (*ComposerDoctor) Parse added in v1.2.0

func (*ComposerDoctor) SourceCodeURL

func (d *ComposerDoctor) SourceCodeURL(lib types.Library) (string, error)

type Packagist

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

type PackagistRegistryResponse

type PackagistRegistryResponse struct {
	Packages map[string][]struct {
		Source struct {
			URL string `json:"url"`
		} `json:"source"`
	} `json:"packages"`
}

Jump to

Keyboard shortcuts

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