REA composer.json notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

composer.json pins PHP Composer package identity. In REA 6.7.x, treat selected name/require/repositories pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the composer.json (+ artifacts you hold).
  2. Quote selected name / require / repositories pins you actually see (never paste auth.json tokens).
  3. Cousins → composer-lock · composer-php.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a inspect_composer_json API REA never called.

Minimal path

# authorized composer.json (+ artifact you hold)
# quote selected name/require/repositories into case notes
# cousins → composer-lock / composer-php
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_composer_json .

Compare

ArtifactHonest posture
composer.jsonname/require/repositories identity facts
composer.lock lanerea-composer-lock
composer-php lanerea-composer-php
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_composer_json / automatic Composer installs.
  • No credential theft from auth.json / private Satis tokens.
  • No pirate redistribution of paid packages.
  • No crack framing via composer.json pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-composer-lock / rea-composer-php?

Those pages cover lockfile and PHP-Composer Evidence. This page zooms on composer.json name/require identity — it does not overwrite those pages.

Is there inspect_composer_json in 6.7.0?

Not assumed. Quote name / require / repositories you actually open. Do not invent inspect_composer_json.

Does REA run composer install for you?

No. Local trees only. No credential theft from auth.json / packagist tokens.

composer.json vs composer.lock?

Label Evidence by the file present. Quote require ranges vs locked versions you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources