REA Composer PHP notes (unofficial)
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
- Authorize the PHP project or vendor snapshot.
- Quote
name/version/ selected lock packages from composer.json/lock. - Inventory packed artifacts you hold (zip/phar) via known archive routes when applicable.
- Native-route absolute paths of any
.soextensions you are allowed to examine. - 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
| Artifact | Honest posture |
|---|---|
composer.lock | Package pin facts |
vendor/**/*.php | Source/text Evidence |
Native .so extensions | Native/static diagnostics |
| npm / wheels analogues | rea-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).