# PHP Composer Package Release Tracker

> PHP Composer Package Release Tracker is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns new releases and breaking changes for PHP Composer packages since a given timestamp, with significance scores and change type tags.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/composer/changes
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/php-composer-package-release-tracker-1391807f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3RNLdrSasi_FOiD_aMfLQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability php-composer-package-release-tracker-1391807f
```

Example prompt: Show me all new Composer package releases since 2025-05-01T00:00:00Z with a significance score of at least 7, and check specifically if symfony/console has had any breaking changes.

## When to prefer this

Use this endpoint when you need to monitor or audit PHP Composer/Packagist packages for new releases or breaking changes (major version bumps), especially when you need significance-scored results filterable by timestamp. Prefer this over generic RSS feeds or GitHub release watchers when you want structured, scored change data with direct Packagist sourcing and on-demand resolution for any package.

## Known failure modes

- Unknown or misspelled package name returns empty changes array or error
- Missing or malformed 'since' date-time causes 400 validation error
- Package not yet tracked and live resolution fails returns empty or delayed result
- Requesting limit above 500 returns validation error
- Service unavailable or upstream Packagist timeout returns 5xx error
- Payment not completed (x402) results in 402 Payment Required response

## How this service works

New releases of tracked PHP Composer packages (framework, console, monolog, guzzle, and more) on Packagist (PHP) since a timestamp — each tagged new_release or breaking_change (major-version bump) with a 1-10 significance score. Answers "did a dependency in my composer.json ship a new or breaking version I should pin or upgrade?" Pass ?package=<name> for ANY PHP Composer package on demand.

## Output

A JSON object with a count, source label, and an array of change events — each including the package name (entityId), change type (new_release or breaking_change), a human-readable title and summary, a significance score from 1–10, detected timestamp, effective date, and a source URL for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 500,
       "minimum": 1
      },
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Only changes detected after this ISO-8601 instant"
      },
      "package": {
       "type": "string",
       "description": "Any Packagist (PHP) package name — resolved and fetched live if not already tracked"
      },
      "min_significance": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Keep only changes scored at least this"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "detail": {
          "type": "object"
         },
         "summary": {
          "type": "string"
         },
         "entityId": {
          "type": "string"
         },
         "sourceUrl": {
          "type": [
           "string",
           "null"
          ],
          "description": "Primary-source link for verification"
         },
         "detectedAt": {
          "type": "string",
          "format": "date-time"
         },
         "significance": {
          "type": "integer",
          "maximum": 10,
          "minimum": 1
         },
         "effectiveDate": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/php-composer-package-release-tracker-1391807f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
