AI Skill for PHP AI skill by KissMySkills, cover
What's inside the AI Skill for PHP AI skill: Type safety, Query review, Security checks, Test coverage
How the AI Skill for PHP AI skill works in three steps: download, drop it into your AI chat, done
The AI Skill for PHP AI skill works with Claude, ChatGPT, Gemini and any AI chat, 30-day money-back guarantee

AI Skill for PHP

Your AI works as a senior PHP developer acting as the user's pair programmer, writing typed PHP 8 code with…

$19· one file, yours to keep

Yours to keep · instant download

Subscribe · $12/mo

7 days free, then $12/mo · cancel anytime

  • Visa
  • Mastercard
  • American Express
  • Apple Pay

30-day money-back · secure checkout by Stripe

Read the opening lines
# AI Skill for PHP
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then just ask questions the way you normally would.

## Who you are
You are a senior PHP developer acting as the user's pair programmer. You know modern PHP 8 idioms, the standard library, Composer and the ecosystem (Laravel, Symfony, PHPUnit, PHPStan, PHP-CS-Fixer), and you review code like a careful colleague. You optimise for correct, typed, readable code that runs on the user's PHP version and passes their tooling. Tone: direct, code first, explanation second. You are a helper inside the user's PHP work, not a job-role persona.

## What you know about PHP
- Modern features: strict_types, union and nullable types, readonly properties, enums, match, named arguments, attributes, constructor property promotion, first-class callables, fibers, the nullsafe operator.
- Standard library: array_* and str_* functions, mb_*, DateTimeImmutable, PDO, json_encode with JSON_THROW_ON_ERROR, generators.
- Composer: composer.json, PSR-4 autoloading, require vs require-dev, composer.lock, version constraints (^, ~), scripts, composer install vs update.
- PSR standards that matter daily: PSR-4, PSR-12, PSR-3 logging, PSR-7 and PSR-15 HTTP, PSR-11 containers.
- Frameworks: Laravel (Eloquent, Artisan, migrations), Symfony (DI container, Doctrine, console), and framework-free PSR-7 stacks.

Prompt set · 83 lines · the first 12 shown

How it works

  1. Buy or subscribeAdd it to your cart for $19 and the file is yours to keep. Or subscribe: every file in the store, $12/mo.
  2. Open in your AIOpen the file, copy a prompt and paste it into Claude, ChatGPT or any AI chat. Subscribers connect their AI once instead:

    Claude

    Anthropic's AI chat, on the web, desktop and phone · about 3 minutes

    Works on every Claude plan, Free included.

    • Team or Enterprise plan: the workspace owner adds it once in Organization settings, then everyone clicks Connect.
    • Nothing happens when you click Connect? Allow pop-ups for claude.ai and try again.

    On a phone? Set it up once on a computer. It then shows up in the Claude phone app by itself. Email me the link

    After you buy a file
    1. Download your .skill file from the order email or your account.

    2. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill.

    3. Start a new chat and ask for the specialist by name.

    Open full guide

  3. Ask by nameAsk your AI for AI Skill for PHP by name, or fill in the parts in brackets and send.

What's inside

  • ai-skill-for-php.txtPrompt set · 83 lines · instant download
  • Typed PHP 8 classes and services ready to paste into your PSR-4 project
  • Code review ranked by severity: bugs, security, types, then style
  • PHPUnit and Pest tests with data providers and mocks
  • PHP 7.4 to 8.x upgrade checklists and Composer fixes

What your AI will do

See a real example
You ask

Review this Laravel service class for bugs, then write PHPUnit tests for the edge cases you find.

Your AI answers

You get: a severity-ordered review of the service (an unguarded null from the repository, a loose == comparison, a missing transaction around two writes) with corrected snippets → a rewritten class using readonly constructor promotion and a DB::transaction closure → a PHPUnit test class with a data provider covering the null, empty and duplicate cases and a mocked repository → the exact commands to run (phpunit --filter, phpstan analyse) and the one thing to check in staging before merging.

// faq

Questions before you buy

What does the AI Skill for PHP do?+

It makes Claude or ChatGPT act as a PHP AI pair programmer: it writes typed PHP 8 code for your project, reviews the code you paste, writes PHPUnit or Pest tests, fixes Composer and autoloading issues, and explains errors from real stack traces.

Does it run or deploy my PHP code for me?+

No. The skill does not execute PHP, run tests or touch your server. It prepares the code, tests, composer commands and php.ini directives, and tells you which tool to run (phpunit, phpstan, php -l) to confirm the result.

Which PHP versions and frameworks does it cover?+

It defaults to PHP 8.2 and newer and asks when the version matters. It knows Laravel and Symfony conventions as well as framework-free PSR-7 code, and it produces migration checklists for moving legacy PHP 7.4 code to 8.x.

Is this the same as the PHP developer role skill?+

No. A role skill is a persona that plans and architects like a job title. This PHP skill is a helper inside your daily coding: it writes, reviews and debugs the PHP file in front of you and matches your PHPStan level and coding standard.

How do I open it?+

Download your .skill file from the order email or your account. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill. Start a new chat and ask for the specialist by name.

Using ChatGPT, Gemini or another AI? See How it works