analyse-with-phpstan
Analyse PHP code with PHPStan via the playground API. Tests across all PHP versions (7.2–8.5) and reports errors grouped by version. Supports configuring…
Execute PHP code on 3v4l.org to test runtime behavior across multiple PHP versions. Use when you need to verify what PHP actually does with a piece of code.
$ npx -y skills add phpstan/phpstan --skill run-on-3v4l --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/run-on-3v4lContext preview
The summary Claude sees to decide when to auto-load this skill.
Execute PHP code on 3v4l.org to test runtime behavior across multiple PHP versions. Use when you need to verify what PHP actually does with a piece of code.
name: run-on-3v4l description: Execute PHP code on 3v4l.org to test runtime behavior across multiple PHP versions. Use when you need to verify what PHP actually does with a piece of code. argument-hint: <php-code-or-file> disable-model-invocation: false
Execute PHP code on 3v4l.org to test actual runtime behavior across multiple PHP versions. This is critical — do NOT reason about what PHP would do, actually test it.
The code to run: `$ARGUMENTS`
Fetch the 3v4l.org homepage and examine the HTML form to understand how to submit code:
curl -s https://3v4l.org/ | head -200
Look for:
Take the PHP code and make it executable:
Submit the prepared code to 3v4l.org using the form submission mechanism you discovered in Step 1.
After submission, retrieve the results via the REST API:
curl -s -H 'Accept: application/json' 'https://3v4l.org/<short-id>'
Parse the JSON to see actual PHP output across different PHP versions.
Show:
PHP Static Analysis Tool - discover bugs in your code without running it!
Analyse PHP code with PHPStan via the playground API. Tests across all PHP versions (7.2–8.5) and reports errors grouped by version. Supports configuring…