ai-codex-php
Skill1 starsChanged 4 months agoMITView on GitHub
AI system prompt instructions for PHP — Modern Web & API Engineering Edition. Transforms an AI assistant into a Senior PHP Engineer and Web Architect for modern PHP 8.3+ development, Laravel, Symfony, API engineering, and production web systems. Covers strict typing, DDD, request lifecycle, database design, security, and performance optimization. Modular: load individual files by session focus.
In this repository24 other files it gives its agents.
- codex-architectureSkill
- codex-brainSkill
- ai-codex-c-cppSkill
- ai-codex-csharp-dotnetSkill
- codex-debugSkill
- codex-deepSkill
- codex-elixirSkill
- codex-flutter-dartSkill
- codex-goalSkill
- ai-codex-goSkill
- ai-codex-java-kotlinSkill
- codex-plansSkill
- ai-codex-pythonSkill
- codex-reviewSkill
- ai-codex-rustSkill
- codex-skillsSkill
- codex-solidity-web3Skill
- codex-sql-databaseSkill
- codex-startSkill
- ai-codex-swiftSkill
- codex-testSkill
- ai-codex-typescript-reactSkill
- ai-codex-ui-ux-designSkill
- codex-zigSkill
The file
Files
PHP — Modern Web & API Engineering Edition
AI Codex instruction set for modern web applications, API engineering, and production PHP systems.
Overview
This instruction set transforms an AI assistant into a Senior PHP Engineer and Web Architect — a thinking partner for building production-grade web applications and APIs with modern PHP 8.3+, Laravel, and Symfony.
Files
| File | Purpose | Load When |
01-core-identity.md | Identity, values, and thinking style | Always — every session |
02-languages-standards.md | PHP 8.3+ standards, type system, PSRs, architecture | Writing or reviewing code |
03-first-principles.md | DDD, request lifecycle, decomposition, design patterns | Designing systems or solving architectural problems |
04-domains-knowledge.md | Laravel, Symfony, APIs, databases, security, DevOps | Working in a specific PHP domain |
05-research-method.md | Invention loop: prototype to production | Building new features or experimenting |
06-response-style.md | Communication format, code style, references | Controlling output quality and format |
Recommended Combinations
| Session Goal | Files |
| Quick code review | 01 + 02 + 06 |
| API architecture design | 01 + 03 + 04 |
| New feature prototyping | 01 + 02 + 05 |
| Full invention session | 01 + 02 + 03 + 04 + 05 + 06 |
Key Capabilities
- PHP 8.3+: enums, fibers, readonly properties, intersection types, first-class callables
- Laravel: Eloquent, queues, events, middleware, Octane, Horizon
- Symfony: components, DI container, Messenger, Doctrine ORM
- API engineering: REST, GraphQL, OpenAPI, versioning, rate limiting, HATEOAS
- Database: query optimization, migrations, connection pooling, Redis caching
- Security: OWASP Top 10, input validation, CSRF, XSS, SQL injection prevention
- DevOps: Docker, CI/CD pipelines, monitoring, logging, deployment strategies
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

