php-zend

php-zend is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 75 tokens per session (3,862 once invoked), scanned A, original, MIT.

A coding guide for Laminas, the PHP framework formerly known as Zend Framework, and for Mezzio, its middleware-focused companion.

In plain words
What is it for?
Use it to build or update Laminas MVC or Mezzio applications, migrate Zend Framework 3 code, or work with related Laminas packages and Doctrine ORM.
Why use it?
It helps keep enterprise PHP applications consistent with their framework structure, dependency injection, database, routing, and validation conventions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to build or update Laminas MVC or Mezzio applications, migrate Zend Framework 3 code, or work with related Laminas packages and Doctrine ORM.

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

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-zend

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/zend"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/zend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,862 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00075 $0.03862
Opus 5.5 $0.00030 $0.01545
Sonnet 5.5 $0.00015 $0.00772
Haiku 4.5 $0.00007 $0.00386

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

Security

Grade A, and why

php-zend 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 16d 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/backend/php/zend/SKILL.md · 557 lines

How it starts

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

Zend / Laminas

Purpose

Build enterprise PHP applications with Laminas (formerly Zend Framework). Follow the MVC module system, ServiceManager DI, laminas-db or Doctrine ORM, Mezzio middleware, and laminas-form validation. Maintain backward compatibility with ZF3 patterns.

Agent Protocol

Trigger

Exact user phrases: "Zend", "Zend Framework", "Laminas", "Laminas MVC", "Mezzio", "laminas-servicemanager", "laminas-db", "laminas-form", "laminas-inputfilter", "laminas-router", "laminas-module", "ZF3", "Zend Expressive", "Doctrine ORM", "laminas-stratigility", "API Platform".

Input Context

  • Framework version (Laminas 3.x, Mezzio 4.x, ZF3 migration).
  • PHP version (8.1+ required for Laminas 3).
  • Database (MySQL, PostgreSQL with laminas-db or Doctrine).
  • MVC vs Middleware (Laminas MVC vs Mezzio).
  • Existing modules and their dependencies.

Output Artifact

PHP files, module configuration, ServiceManager factories, routes. No extraneous explanation.

Response Format

PHP code only. No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output.

Completion Criteria

  • Module structure with Module.php, config, src, tests.
  • ServiceManager configuration (factories, invokables, aliases).
  • Routes defined with controllers or middleware.
  • Database access via laminas-db TableGateway or Doctrine entities.
  • Forms with InputFilter validation.
  • View templates or JSON responses.
  • Event listeners for modular extension.

Max Response Length

Direct file output. No response text.

Project Structure

project/
├── module/
│   ├── Application/
│   │   ├── config/
│   │   │   ├── module.config.php      # Routes, controllers, view_manager
│   │   │   └── navigation.php
│   │   ├── src/
│   │   │   ├── Controller/
│   │   │   │   ├── IndexController.php
│   │   │   │   └── UserController.php
│   │   │   ├── Service/
│   │   │   │   └── UserService.php
│   │   │   └── Module.php
│   │   └── view/
│   │       └── application/
│   │           └── index/
│   │               └── index.phtml
│   ├── User/
│   │   ├── config/
│   │   │   └── module.config.php
│   │   ├── src/
│   │   │   ├── Controller/
│   │   │   ├── Model/
│   │   │   │   ├── User.php
│   │   │   │   ├── UserTable.php       # TableGateway
│   │   │   │   └── UserRepository.php  # Doctrine
│   │   │   ├── Form/
│   │   │   │   └── UserForm.php
│   │   │   ├── InputFilter/
│   │   │   │   └── UserFilter.php
│   │   │   └── Module.php
│   │   └── view/
│   │       └── user/
│   │           ├── index.phtml
│   │           └── form.phtml
│   └── Api/
│       ├── config/
│       │   └── module.config.php
│       └── src/
│           ├── Controller/
│           │   └── UserApiController.php
│           └── Module.php
├── config/
│   ├── application.config.php
│   ├── modules.config.php
│   └── autoload/
│       ├── global.php
│       └── local.php.dist
├── public/
│   └── index.php
├── data/
│   ├── cache/
│   └── log/
├── test/
│   └── UserTest/
│       └── Controller/
│           └── UserControllerTest.php
├── composer.json
└── phpunit.xml

Read the full file on GitHub · 557 lines

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. 16d ago Changed · -8 lines · -99 tokens per session 6488a6d9e42a
  2. 3mo ago First seen · 565 lines · 174 tokens per session scan A 1447d7d3845f

Subscribe to this mod's changes

php-zend is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 75 tokens to every session and 3,862 once invoked, about $0.0003 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-30.

Related

php-zend compared with skills from other repositories

php-zend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
php-zendj4flmao/agent-skillsSkill4717d agoMITA75Claude Code, Codex
laravel-specialistJeffallan/claude-skillsSkill13kyesterdayMITA86Claude Code
owl-admin-devtools-generatorslowlyo/owl-adminSkill6222d agoMITA82Claude Code, Codex
php-laravelWrongStack/WrongStackSkill448todayMITA85Claude Code
update-application-configurationtarlepp/symfony-flex-backendSkill286yesterdayMITA29Claude Code, Codex
laravel-ops0xDarkMatter/claude-modsSkill8610d agoMITA63Claude Code
laravel-conventionsAratKruglik/claude-sdlcSkill58yesterdayMITA67Claude Code