REA Composer PHP notes (unofficial)

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

Composer projects expose composer.lock identity and a vendor/ tree. REA 6.7.x should stay on file facts + known inventory/native routes — not a Packagist client.

Mental model

  1. Authorize the PHP project or vendor snapshot.
  2. Quote name / version / selected lock packages from composer.json/lock.
  3. Inventory packed artifacts you hold (zip/phar) via known archive routes when applicable.
  4. Native-route absolute paths of any .so extensions you are allowed to examine.
  5. Keep pure-PHP sources as text Evidence — do not invent a PHP bytecode product.

Minimal path

# authorized Composer project or vendor tarball
# quote composer.lock pins into case notes
# REA archive inventory on packed artifacts when format-matched
# native route on /absolute/path/to/extension.so --json when authorized

Compare

ArtifactHonest posture
composer.lockPackage pin facts
vendor/**/*.phpSource/text Evidence
Native .so extensionsNative/static diagnostics
npm / wheels analoguesrea-npm-packages, rea-pip-wheels

Scope we will not cover

  • No inventing inspect_composer / automatic Packagist crawlers.
  • No Packagist/Satis credential theft.
  • No pirate redistribution of paid PHP packages.
  • No crack framing for commercial PHP apps.

RepoRead is unofficial. Prefer archive inventory + DISCLAIMER.md.

FAQ

Is there inspect_composer in 6.7.0?

Not assumed. Quote composer.json / composer.lock name/version pins you actually see; treat vendor/ as a filesystem tree. Use archive inventory when you hold packed artifacts; native-route any extension binaries under authorization.

Does REA decompile PHP opcodes?

No first-class PHP decompiler product is advertised. Pure-PHP sources stay text; record paths and hashes rather than inventing an opcode lifter.

Packagist / private Satis credentials?

Never. Local vendor/cache trees your org already fetched only.

Phar archives?

Treat authorized .phar files as archives when formats match documented inventory routes; otherwise use lab-approved PHP tooling and quote facts — do not invent inspect_phar unless upstream documents it.

npm version checked?

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

Sources