Packagist · JSON Structure

Packagist Package Structure

Operational structure of a Packagist package as returned by /packages/{vendor}/{package}.json.

Type: Properties: 0
ComposerPHPPackage RegistryDependency ManagementOpen-SourceDeveloper ToolsSoftware Supply ChainSecurity Advisories

PackagistPackage is a JSON Structure definition published by Packagist. It conforms to the https://json-structure.org/schema/v1 meta-schema.

Meta-schema: https://json-structure.org/schema/v1

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/schema/v1",
  "name": "PackagistPackage",
  "description": "Operational structure of a Packagist package as returned by /packages/{vendor}/{package}.json.",
  "structure": {
    "package": {
      "identity": {
        "name": "string (vendor/package)",
        "type": "string (library | project | metapackage | composer-plugin)",
        "language": "string"
      },
      "presentation": {
        "description": "string",
        "repository": "uri",
        "time": "datetime (first registered)"
      },
      "people": {
        "maintainers": "array<Maintainer>",
        "authors": "array<Author> (per-version)"
      },
      "metrics": {
        "downloads": {
          "total": "integer",
          "monthly": "integer",
          "daily": "integer"
        },
        "favers": "integer",
        "dependents": "integer",
        "suggesters": "integer",
        "github_stars": "integer",
        "github_forks": "integer",
        "github_watchers": "integer",
        "github_open_issues": "integer"
      },
      "versions": {
        "key": "version string (e.g., 3.7.0 or dev-main)",
        "value": {
          "identity": {
            "version": "string",
            "version_normalized": "string",
            "type": "string"
          },
          "release": {
            "time": "datetime",
            "license": "array<string>",
            "source": "VcsReference",
            "dist": "DistArchive"
          },
          "dependencies": {
            "require": "map<package, constraint>",
            "require-dev": "map<package, constraint>",
            "suggest": "map<package, string>"
          },
          "loading": {
            "autoload": "object",
            "bin": "array<string>"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/packagist-package-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.