Skip to content
BEAD

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_validator

Full reference: developer docs · OpenAPI spec

What we check

  • name — vendor/package pattern
  • version — optional, must be a valid Composer version when present
  • require / require-dev — constraint shape
  • autoload / autoload-dev — PSR-4, PSR-0, classmap, files
  • license — SPDX identifier (warning only)
  • type, minimum-stability, prefer-stable

You might also like