update-php-runtime

update-php-runtime is a skill for Claude Code, Codex from tarlepp/symfony-flex-backend. It costs 22 tokens per session (1,017 once invoked), scanned A, original, MIT.

A procedure for changing the application’s supported PHP version consistently across Composer, Docker, CI, and documentation. PHP is the programming language runtime, Composer manages PHP packages, and CI runs automated checks.

In plain words
What is it for?
Use it to raise or otherwise change the PHP baseline, inspect Composer requirements and lockfiles, check extensions and dependencies, and validate the updated runtime across development, production, and CI.
Why use it?
Changing the runtime in only one place can leave dependency files, containers, tests, or documentation using incompatible versions. This workflow checks those related settings and compatibility before updating them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to raise or otherwise change the PHP baseline, inspect Composer requirements and lockfiles, check extensions and dependencies, and validate the updated runtime across development, production, and CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tarlepp/symfony-flex-backend/update-php-runtime
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tarlepp/symfony-flex-backend --skill update-php-runtime
Clone the repo
git clone --depth 1 https://github.com/tarlepp/symfony-flex-backend

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-php-runtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/tarlepp/symfony-flex-backend/update-php-runtime/github.svg)](https://agentmods.dev/skills/tarlepp/symfony-flex-backend/update-php-runtime)
Your own site
<a href="https://agentmods.dev/skills/tarlepp/symfony-flex-backend/update-php-runtime"><img src="https://agentmods.dev/badge/skills/tarlepp/symfony-flex-backend/update-php-runtime/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-php-runtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/tarlepp/symfony-flex-backend/update-php-runtime"><img src="https://agentmods.dev/badge/skills/tarlepp/symfony-flex-backend/update-php-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.01017
Opus 5.5 $0.00009 $0.00407
Sonnet 5.5 $0.00004 $0.00203
Haiku 4.5 $0.00002 $0.00102

Measured 11d ago against content hash c85a848261c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-php-runtime scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/update-php-runtime/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What is this?

Use this skill when changing the PHP version supported by the application or the PHP runtime version used by the development, production, and CI workflows. For Composer package updates that do not change the PHP baseline, use update-dependencies. For PHP image tag or digest refreshes that keep the supported PHP version unchanged, use update-docker-images.

Follow the shared skill guidance, including repository instructions and AI rules.

Table of Contents ᐞ

Workflow ᐞ

  1. Confirm the requested target PHP version and scope. Check the current PHP requirement and config.platform.php in the root composer.json and every tools/*/composer.json, along with their lockfiles. Ask before changing the minimum supported PHP version, crossing a PHP major/minor line, or widening dependency constraints when the request does not specify the intended compatibility policy.
  2. Check package and extension compatibility for the target PHP version, including root and tool Composer dependencies, Symfony and PHPUnit support, required PHP extensions, and project PHP configuration in Dockerfile, docker/php/php.ini, and docker/php/php-dev.ini. Review upstream release notes and security advisories. Do not assume that changing the container image alone changes Composer's platform requirement.
  3. Keep the runtime baseline aligned across the project:
    • Update the root and tools/*/composer.json PHP requirements and config.platform.php values to the approved baseline.
    • Refresh each affected lockfile with Composer in the development container. Do not hand-edit lockfiles or use a broad dependency update unless required and approved.
    • Preserve the different purposes of version fields: require.php defines the supported constraint, config.platform.php simulates the Composer platform, and the PHP image uses a concrete patch tag shared by local development and CI.
    • Update the PHP base image tag and digest in Dockerfile, following update-docker-images for multi-platform digest resolution and pin verification.
    • Review .github/actions/php-bootstrap/action.yml and docker/ci-compose.yaml. CI uses the Compose development image rather than selecting a separate runner PHP version; keep that shared runtime.
    • Search documentation and automation for explicit PHP-version statements, including doc/DEVELOPMENT.md and doc/INSTALLATION_WITHOUT_DOCKER.md; update statements that describe the supported baseline. Avoid copying version numbers into documents that can link to the Composer source of truth instead.
  4. Review the full diff for accidental dependency changes, lockfile churn, inconsistent platform values, and outdated examples. Keep a baseline migration coherent across root, tools, runtime image, CI, and documentation; do not mechanically apply the tool-first commit sequence for unrelated Composer updates when it would leave PHP platform definitions inconsistent.
  5. Do not recreate running services, remove volumes, deploy images, or change production data as part of validation without explicit approval.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · -2 lines c85a848261c8
  2. 16d ago Changed 59b487131ef9
  3. 1mo ago Changed 1bce2d1004dd
  4. 1mo ago First seen · 97 lines · 22 tokens per session scan A 1f3930324b13

Subscribe to this mod's changes

update-php-runtime is a skill published in the GitHub repository tarlepp/symfony-flex-backend (286 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 1,017 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.

Related

update-php-runtime compared with skills from other repositories

update-php-runtime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-php-runtimetarlepp/symfony-flex-backendSkill286yesterdayMITA22Claude Code, Codex
api-platform-upgradegerard-labs/superpowers-api-platformSkill26mo agoMITA49Claude Code
api-platform-identifiersgerard-labs/superpowers-api-platformSkill26mo agoMITA0Claude Code
quality-checksgerard-labs/superpowers-api-platformSkill26mo agoMITA194Claude Code
bootstrap-checkgerard-labs/superpowers-api-platformSkill26mo agoMITA125Claude Code
ports-and-adaptersgerard-labs/superpowers-api-platformSkill26mo agoMITA120Claude Code
codeigniter-restAtulPurohit/Antigravity-Awesome-SkillsSkill64mo agononeA17Claude Code, Codex