php-language-modern

php-language-modern is a skill for Claude Code, Codex from fusengine/codex. It costs 49 tokens per session (1,246 once invoked), scanned A, original, no licence file.

A guide to modern PHP 8.1–8.5 language features such as property hooks, asymmetric visibility, the pipe operator, attributes, enums, and readonly values.

In plain words
What is it for?
Use it when writing non-framework PHP with newer language features, including enums, attributes, readonly values, and property hooks.
Why use it?
It helps you write current PHP without relying on a framework-specific style guide or Laravel conventions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when writing non-framework PHP with newer language features, including enums, attributes, readonly values, and property hooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fusengine/codex/php-language-modern
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 fusengine/codex --skill php-language-modern
Clone the repo
git clone --depth 1 https://github.com/fusengine/codex

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 php-language-modern

README.md
[![agentmods](https://agentmods.dev/badge/skills/fusengine/codex/php-language-modern/github.svg)](https://agentmods.dev/skills/fusengine/codex/php-language-modern)
Your own site
<a href="https://agentmods.dev/skills/fusengine/codex/php-language-modern"><img src="https://agentmods.dev/badge/skills/fusengine/codex/php-language-modern/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 php-language-modern

Your own site · 80×15
<a href="https://agentmods.dev/skills/fusengine/codex/php-language-modern"><img src="https://agentmods.dev/badge/skills/fusengine/codex/php-language-modern.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,246 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 unknown 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.00049 $0.01246
Opus 5 $0.00024 $0.00623
Sonnet 5 $0.00010 $0.00249
Haiku 4.5 $0.00005 $0.00125

Measured 9d ago against content hash e9d43154c44e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

php-language-modern 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 9d 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.

plugins/php-expert/skills/php-language-modern/SKILL.md · 103 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 files 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. 9d ago First seen · 103 lines · 49 tokens per session scan A e9d43154c44e

Subscribe to this mod's changes

php-language-modern is a skill published in the GitHub repository fusengine/codex (1 stars, last pushed 8d ago), with no licence file. It adds 49 tokens to every session and 1,246 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

kirby-ide-support

Improves IDE autocomplete and static analysis in Kirby projects with PHPDoc hints and Kirby IDE helper generation. Use when types are missing or IDE support is degraded.

bnomei/kirby-mcp · 37 tokens

biopython

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use…

synthetic-sciences/openscience · 76 tokens

rust-crate-ci

Load before editing any Rust crate in this repo (currently runners/swarm-sandbox-runner). Covers the mandatory local validation gate, common rustfmt/clippy pitfalls, and Windows-specific Rust correctness patterns that CI enforces but are hard to catch locally without a Windows toolchain.

ZaxbyHub/opencode-swarm · 60 tokens

widen-return-type

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 9 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

yao-geoflow-template

Use only for explicit legacy GEOFlow template skill questions, old PHP template-package contracts, or historical outputs using root index.php/article.php/category.php/archive.php and includes/.php. Route current Laravel Blade themes, reference-site cloning, homepage modules, leadform, theme editor, channel frontend…

yaojingang/yao-geo-skills · 94 tokens