composer-update

composer-update is a skill for Claude Code, Codex from pekral/cursor-rules. It costs 21 tokens per session (470 once invoked), scanned A, original, MIT.

A Composer dependency-update reviewer for PHP projects. It examines what changed after Composer updates package versions and dependencies.

In plain words
What is it for?
Use it to list added or changed packages, compare old and new versions, identify incompatible version requirements, and summarize dependency changelogs.
Why use it?
It helps find version conflicts and warns when an updated package is archived or abandoned. It also explains relevant changes instead of leaving you to inspect every dependency manually.

Skill for Claude CodeCodex

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

Good fit Use it to list added or changed packages, compare old and new versions, identify incompatible version requirements, and summarize dependency changelogs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pekral/cursor-rules/composer-update
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 pekral/cursor-rules --skill composer-update
Clone the repo
git clone --depth 1 https://github.com/pekral/cursor-rules

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 composer-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/pekral/cursor-rules/composer-update/github.svg)](https://agentmods.dev/skills/pekral/cursor-rules/composer-update)
Your own site
<a href="https://agentmods.dev/skills/pekral/cursor-rules/composer-update"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/composer-update/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 composer-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/pekral/cursor-rules/composer-update"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/composer-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 470 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.00021 $0.00470
Opus 5.5 $0.00008 $0.00188
Sonnet 5.5 $0.00004 $0.00094
Haiku 4.5 $0.00002 $0.00047

Measured 1mo ago against content hash 0a8c3eb52225, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

composer-update 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 1mo 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.

skills/composer-update/SKILL.md · 78 lines

What it actually says

Composer Update

Purpose

Analyze dependency updates after composer update, detect conflicts, and summarize relevant changes.


Constraints

  • Apply @rules/php/core-standards.mdc
  • Apply @rules/php/dependency-selection.mdc — this skill primarily bumps existing packages (rule out of scope per its Scope section), but a bump frequently uncovers an upstream that has been archived or marked abandoned. When that happens, re-run the Activity gate + Compatibility gate against the suggested replacement (or against a fresh search if no replacement is documented) before recommending the migration. Never silently keep an archived / abandoned package in the lockfile just because the bump compiles.
  • Output Markdown only

Execution

1. Update Context

  • Use output from composer update if available
  • Otherwise compare current composer.lock with the previous version

2. Detect Updated Packages

  • List all added or changed packages
  • Include version changes: old → new

3. Conflict Detection

  • Identify dependency conflicts from:
    • composer output
    • version constraint mismatches (composer.json vs composer.lock)
  • Summarize conflicts clearly (package → reason)
  • If none: state "No conflicts detected"

4. Changelog Extraction

For each updated package:

  • Prefer:

    • vendor/<package>/CHANGELOG*
  • Fallback:

    • repository releases (GitHub/GitLab)
    • package homepage
  • Extract:

    • breaking changes
    • new features
    • important fixes
  • If unavailable:

    • state "No changelog found"

5. Suggested Follow-up

  • Recommend relevant checks:
    • run tests
    • composer validate
    • composer audit

Output Format

Use the template defined in templates/update-report.md.

Principles

  • Focus on impactful changes, not noise
  • Highlight breaking changes first
  • Prefer local sources over remote
  • Be concise and actionable
  • Highlight security-related changes when present
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 78 lines · 21 tokens per session scan A 0a8c3eb52225

Subscribe to this mod's changes

composer-update is a skill published in the GitHub repository pekral/cursor-rules (11 stars, last pushed 19d ago), licensed MIT. It adds 21 tokens to every session and 470 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-08-31.

Related

Other skills, from other repositories

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

sentry-php-sdk

Full Sentry SDK setup for PHP. Use when asked to "add Sentry to PHP", "install sentry/sentry", "setup Sentry in PHP", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for PHP applications. Supports plain PHP, Laravel, and Symfony.

getsentry/sentry-for-ai · 71 tokens

Laravel Dusk Testing

Expert-level Laravel Dusk browser testing skill for PHP/Laravel applications. Covers Chrome-based E2E testing, browser assertions, Page Objects, component testing, authentication helpers, and database integration.

PramodDutta/qaskills · 44 tokens

laravel

Use when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs, framework-native security (validation, mass-assignment, policies, signed URLs, rate limiting), and Pest/PHPUnit feature tests. NOT pure PHP…

ericrisco/rsc-harness · 76 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

php-expert

Expert-level PHP development with PHP 8+, Laravel, Composer, and modern best practices. Use when the user mentions Laravel, Composer, Symfony, PHPUnit, or PSR standards, or when the task involves PHP 8+ Features, Object-Oriented PHP, Modern PHP, or Constructor Property Promotion.

personamanagmentlayer/pcl · 64 tokens