Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dallay/agents-skillsnpx agentmods add skills/dallay/agents-skills/php-developmentWrote 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.
[](https://agentmods.dev/skills/dallay/agents-skills/php-development)<a href="https://agentmods.dev/skills/dallay/agents-skills/php-development"><img src="https://agentmods.dev/badge/skills/dallay/agents-skills/php-development/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.
<a href="https://agentmods.dev/skills/dallay/agents-skills/php-development"><img src="https://agentmods.dev/badge/skills/dallay/agents-skills/php-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.02695 |
| Opus 5.5 | $0.00018 | $0.01078 |
| Sonnet 5.5 | $0.00009 | $0.00539 |
| Haiku 4.5 | $0.00005 | $0.00269 |
Grade A, and why
php-development 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.
How it starts
The opening of the file, as written. The whole thing — 466 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PHP Development
Production patterns for modern PHP (8.x+), covering Composer, PSR standards, type safety, testing with PHPUnit, and architectural best practices.
When to Use This Skill
- Building or structuring a PHP application
- Working with Composer for dependency management
- Following PSR standards (autoloading, coding style)
- Using PHP 8.x features (attributes, enums, fibers, typed properties)
- Writing tests with PHPUnit
- Applying clean architecture in PHP projects
Core Concepts
1. Project Layout (PSR-4)
myapp/
├── src/
│ ├── Controller/
│ │ └── UserController.php
│ ├── Service/
│ │ └── UserService.php
│ ├── Repository/
│ │ └── UserRepository.php
│ ├── Entity/
│ │ └── User.php
│ ├── Exception/
│ │ ├── AppException.php
│ │ └── NotFoundException.php
│ └── ValueObject/
│ └── Email.php
├── tests/
│ ├── Unit/
│ │ └── Service/
│ │ └── UserServiceTest.php
│ └── Integration/
│ └── Repository/
│ └── UserRepositoryTest.php
├── config/
├── public/
│ └── index.php
├── composer.json
├── phpunit.xml
└── README.md
2. Key Standards
| Standard | Purpose |
|---|---|
| PSR-4 | Autoloading: namespace ↔ directory map |
| PSR-12 | Extended coding style (superseded by PER-CS) |
| PSR-7 | HTTP message interfaces |
| PSR-11 | Container interface (DI) |
| PSR-3 | Logger interface |
Quick Start
# Initialize project
composer init
# Install dependencies
composer require guzzlehttp/guzzle
composer require --dev phpunit/phpunit phpstan/phpstan
# Autoload (PSR-4 in composer.json)
composer dump-autoload
# Run tests
./vendor/bin/phpunit
# Static analysis
./vendor/bin/phpstan analyse src --level=max
# Code style fix
./vendor/bin/php-cs-fixer fix src
{
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
}
}
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.
- 1mo ago First seen · 466 lines · 45 tokens per session scan A d7090dad3c94
php-development is a skill published in the GitHub repository dallay/agents-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 2,695 once invoked, about $0.0002 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.
Other skills, from other repositories
laravel-specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…
create-powergrid-plugin
Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.
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.
llamaindex-development
Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.
php-laravel
Build and upgrade PHP/Laravel applications with validated requests, policy authorization and reliable jobs/data access. Use when implementing Laravel routes, Eloquent models or queues; preserve existing project conventions and runtime compatibility.
laravel-idioms
Laravel framework patterns: Eloquent ORM relationships, N+1 query prevention, Form Request validation, Service layer architecture, and Pest/PHPUnit testing. Use when building or reviewing Laravel web apps and APIs. Pair with php-idioms.