composer.json Validator
Validate PHP Composer manifests — name, require, autoload, license, stability.
Errors
0
Warnings
0
Status
Valid
require (3)
| php | ^8.1 |
| guzzlehttp/guzzle | ^7.5 |
| symfony/console | ^6.0 |
require-dev (2)
| phpunit/phpunit | ^10.0 |
| phpstan/phpstan | ^1.10 |
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/composer-json-validator/run \
-H "Content-Type: application/json" \
-d '{
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/composer-json-validator/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_composer_json_validatorFull reference: developer docs · OpenAPI spec
What we check
name— vendor/package patternversion— optional, must be a valid Composer version when presentrequire/require-dev— constraint shapeautoload/autoload-dev— PSR-4, PSR-0, classmap, fileslicense— SPDX identifier (warning only)type,minimum-stability,prefer-stable
You might also like
- Cargo.toml ParserParse Rust Cargo manifests — package, dependencies (with features), dev/build deps, features, workspace.
- go.mod ParserParse Go module files — module, go/toolchain version, requires (direct vs indirect), replace, exclude, retract.
- HTTP Status Code ReferenceSearchable reference of every HTTP status code with descriptions and category.
- MIME Type ReferenceSearchable reference of common MIME types by extension and category.