Php Pure
Use when the user asks about PHP without a framework, PSR-7, PSR-15 middleware, PSR-11 containers, PDO prepared statements, Composer autoloading or declare(strict_types=1). Produces framework-free PHP 8.x code. Not for Laravel (use php-laravel) or Symfony (use symfony-backend).
Install
npx skills add j4flmao/agent-skills --skill php-puregit clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/backend/php/pure ~/.claude/skills/php-purePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# PHP (Pure/Standard) ## Purpose Build PHP applications without a framework — PSR standards-based architecture, routing, middleware, database access, type-safe with PHP 8.x features, and security-first patterns. ## Agent Protocol ### Trigger User request includes: `pure PHP`, `PHP without framework`, `PHP PSR`, `PHP routing`, `PHP middleware`, `PHP DI`, `PHP database`, `PHP 8 attributes`, `PHP enum`. ### Input Context - PHP version (8.1+) - PSR implementations (PSR-7, PSR-15, PSR-11, PSR-3) - Database (PDO, Doctrine DBAL, MySQLi) - Container (PHP-DI, custom) ### Output Artifact Project structure, router class, middleware chain, controller, database repository. ### Response Format Produce artifact directly. No preamble, no postamble, no explanations. ### Completion Criteria - PSR-4 autoloading configured - PSR-7 request/response handling - PSR-15 middleware pipeline - PSR-11 container for DI - Route matching with attributes or configuration - PDO with prepared statements ### Max Response Length 4096 tokens ## Architecture Decision Trees ### Micro-framework vs Full Framework vs Pure PHP | Criterion | Pure PHP (PSR stack) | Micro-framework (Slim) | Full Framework (Laravel) | |-----------|---------------------|----------------------|--------------------------| | Control | Complete | High | Framework conventions | | Setup time | High | Low | Very low | | Performance | Best | Good | Moderate | | Learning curve | Steep | Low | Moderate |
Details
- Skill name
php-pure- Repository
- j4flmao/agent-skills
- Path
skills/backend/php/pure/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Php Pure skill do?
Use when the user asks about PHP without a framework, PSR-7, PSR-15 middleware, PSR-11 containers, PDO prepared statements, Composer autoloading or declare(strict_types=1). Produces framework-free PHP 8.x code. Not for Laravel (use php-laravel) or Symfony (use symfony-backend).
How do I install the Php Pure skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill php-pure. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Php Pure popular?
It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.
Related skills
Agent Observability
45j4flmao/agent-skills
Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).
AI Agent Architectures
45j4flmao/agent-skills
Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).
AI Agent Core Loop
45j4flmao/agent-skills
Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).
Php Zend
45j4flmao/agent-skills
Use when the user asks about Laminas, Zend Framework migration, Laminas MVC, Mezzio, laminas-servicemanager factories, laminas-db TableGateway or laminas-inputfilter. Produces Laminas/Mezzio modules and migration steps. Not for Symfony (use symfony-backend) or Laravel (use php-laravel).
Php Laravel
45j4flmao/agent-skills
Use when the user asks about Laravel, an Eloquent model with relationships, Form Requests, Laravel queues and jobs, API Resources, eager loading or Pest/PHPUnit tests. Produces Laravel 11+ code with thin controllers and services. Not for Symfony (use symfony-backend) or plain PHP (use php-pure).
Platform Abstraction
45j4flmao/agent-skills
Use when the user asks about a platform abstraction layer, cross-platform engine code, windowing, engine filesystem, dynamic library loading, high-resolution timers or platform ifdefs. Produces a PAL for Windows, Linux, macOS and consoles. Not for mobile app platform APIs (use mobile-patterns).
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.